Jump to content

Recommended Posts

Posted

@Biatu Would be great to have a working site to test and reproduce the issue.

 

Saludos

  • 4 months later...
  • 2 months later...
  • 1 year later...
Posted
On 9/18/2015 at 4:08 PM, Mateusz said:

Can someone write example with PUT request with json content?

In linux I can send it via command:

curl -X PUT -H "Content-Type: application/json" -d'{"id":"1751","title":"some title","attr1":"value1","attr2":"value2"}' https://hostname/service --insecure

and it is working, but can't do the same on AutoIT.

 

Did you found a solution?

I have tried by myself but I'm getting stuck on trying to send data using PUT command.

 

An example would be good to start;)

Posted

Hi, Ward

First of all , thanks to your great job. I'm a curl fancy. I love your UDF  very much.

Today , I try to simulate a  post  with   Curl_Easy_Setopt($Curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL) to handle a  "--post301" issue  as  curl.exe do and encouter an error as  follow:

error: CURL_REDIR_POST_ALL(): undefined function.
    Curl_Easy_Setopt($Curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL)

Could you please help me with it ?  or told me how to add this function to your UDF ?

Much Thanks

Asparagus

 

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...