Skip to content
Advertisement

Tag: curl

How To Use Gregorian Timestamp In Curl String

I’m trying to work with a curl request and the following string: I’ve been working with the documentation quite a bit, so I know that brackets are not needed. Unfortunately, the only information I have is to us “Gregorian Timestamp” which I haven’t found a lot of documentation on. I have tried a number of different combinations. Using timestamps for

Export Curl information to file using sed

I am trying to get a dns address using curl and I would like to use that dsn address to replace a word in a .js file. So the .js file contains a word “hostname” and I would like to replace that with the dns address fetched from curl so what I am trying to do is this. sed ‘s/hostname/curl

ASCII Text Browser Vs. cURL

I hit this url : http://artii.herokuapp.com/make?text=abc+art&font=smisome1 I see this Then when I curl exact same URL curl http://artii.herokuapp.com/make?text=abc+art&font=smisome1 I got this 🤦🏻‍♂️ Does anyone know why this is happening ? Is there a specific flag in the curl I should pass to make it return the same result as broswer ? How do I get my Terminal to display the

Access List of Items from cURL Result

If u go to this url : http://artii.herokuapp.com/fonts_list, you will see a list of 417 items on the list. I’m trying to create a variable to store/access those list. I could not get it to work. I kept getting Any hints on how to do it ? Answer Starting with the assumption that the result is, in fact, one font

How to get list of files in directory smb libcurl?

I’m trying to get a list of files in the directory with libcurl from the SMB server. But I have a error: If I try to get the file then everything will be okay: Answer It is not currently supported by libcurl. It is however mentioned in the TODO as something that we’d like to see added one day.

Curl/sed command not processing inputs correctly

I’m having some trouble with getting this to do what I want it to do. So basically what I want is to use curl to get a .txt file from a url, then sort through it to find the word specified by the user input. Then mark all those words with a * and put them in a file specified

g++ can’t link curl lib files

I’m having some issues with getting g++ to link the curl lib files. I’m using Visual Studio 2017 with the linux dev plugin and Ubuntu Server 17.04. curl-config –libs gave an output of -Lcurl which I tried adding to the linker options in Project settings > Linker > Command Line > Additional options. I also added the –cflags output to

Advertisement