Modules/cURL: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
(Download link didn't work!)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Module_Info|
{{Module_Info|
   name          = MTA Curl |
   name          = MTA Curl |
   version        = 1.1 |
   version        = 1.2 |
   author        = [[User:mrdejong|Alexander de Jong (mrdejong)]] |
   author        = [[User:mrdejong|Alexander de Jong (mrdejong)]] |
   module_website = ''[https://github.com/mrdejong/mta_curl Here]'' |
   module_website = ''[https://github.com/mrdejong/mta_curl Here]'' |
   download_link  = ''[https://github.com/mrdejong/mta_curl/downloads Here]'' |
   download_link  = 1.3 ''[https://www.dropbox.com/s/582fqooxn291s89/ml_curl.dll?dl=1]'' |
   license        = [http://www.opensource.org/licenses/bsd-license.php BSD] |
   license        = [http://www.opensource.org/licenses/bsd-license.php BSD] |
   written_in    = C++ |
   written_in    = C++ |
   operating_system = Windows & Linux|
   operating_system = Windows|
   compatible_with = 1.3.0 |
   compatible_with = 1.3.0, 1.3.1, 1.3.2, 1.3.5 |
}}
}}
MTA Curl module is a handy module to make restful api web calls. You could do everything with it.
MTA Curl module is a handy module to make restful api web calls. You could do everything with it.
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 22-6-2014
 
Released version 1.4;
 
This release changed the function name syntax to adobt the mta syntax.


==cURL functions==
==cURL functions==
Line 27: Line 33:


[[ru:Modules/cURL]]
[[ru:Modules/cURL]]
==Changelog==
{{Modules/cURL/changelog}}

Latest revision as of 15:12, 16 April 2017

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

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 github page

You can find the source at the github repository

Update 22-6-2014

Released version 1.4;

This release changed the function name syntax to adobt the mta syntax.

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