Raised This Month: $ Target: $400
 0% 

[EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system natives


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
dordnung
Veteran Member
Join Date: Apr 2010
Old 01-27-2018 , 09:06   Re: [EXTENSION] System2 - Easy to use HTTP/FTP Request API and useful system natives
Reply With Quote #11

You can just do it like this:

PHP Code:
System2HTTPRequest request = new System2HTTPRequest(HttpResponseCallback"http://example.com"); 
request.SetData("data=myData"); 
request.POST(); 
This will produce the same request as the with the old syntax:
PHP Code:
System2_GetPage(HttpResponseCallback"http://example.com""data=myData"); 
__________________

Last edited by dordnung; 01-27-2018 at 09:12.
dordnung is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode