Jump to content

Curl UDF - AutoIt binary code version of libcurl with SSL support


Ward
 Share

Recommended Posts

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

 

Saludos

Link to comment
Share on other sites

  • 4 months later...
  • 2 months later...
On 2017-06-27 at 9:48 AM, n3wbie said:

m getting error while running 

Example Easy 1
SSL peer certificate or SSH remote key was not OK

Please Help

Curl_Easy_Setopt($ch, $CURLOPT_SSL_VERIFYPEER, 0)

Link to comment
Share on other sites

  • 1 year later...
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;)

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

  • 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
 Share

×
×
  • Create New...