Modules/cURL: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Commented Non-Existing urls)
(Undo revision 36426 by Jaysds1 (talk))
Line 14: Line 14:
The module is based on php cURL module.
The module is based on php cURL module.


<!-- If you found any bugs, please post them on the [[https://github.com/mrdejong/mta_curl/issues|github page]]
If you found any bugs, please post them on the [[https://github.com/mrdejong/mta_curl/issues|github page]]


You can find the source at the [[https://github.com/mrdejong/mta_curl|github repository]] -->
You can find the source at the [[https://github.com/mrdejong/mta_curl|github repository]]


Update 27-5-2013
Update 27-5-2013

Revision as of 06:54, 24 June 2013

Module info
Name MTA Curl
Version 1.2
Author Alexander de Jong (mrdejong)
Module website Here
Download link Here
License BSD
Written in C++
Operating system Windows
Compatible with 1.3.0, 1.3.1, 1.3.2

MTA Curl module is a handy module to make restful api web calls. You could do everything with it.

The module is based on php cURL module.

If you found any bugs, please post them on the [page]

You can find the source at the [repository]

Update 27-5-2013

I released the version 1.2, this build is not yet available for linux.

Most important update is how the module works the result data from a call. Please check out curl_perform function to see how you retrieve the data from a call.

cURL functions

cURL variables


Changelog

Version 1.4

  • Changed function syntax.
  • Cleaned the code up

Version 1.2

  • Added a data return value to curl_perform, it now returns curlcode, data
  • Removed the second argument curl_perform, it now only accepts the curl handle
  • fixed curl_init( string url ). It now works correctly