Raised This Month: $12 Target: $400
 3% 

Solved I need a library to encode as JSON and HTTP POST, GET


Post New Thread Reply   
 
Thread Tools Display Modes
kww
Senior Member
Join Date: Feb 2021
Location: Russia
Old 11-27-2022 , 04:22   Re: I need a library to encode as JSON and HTTP POST, GET
Reply With Quote #21

Quote:
Originally Posted by fysiks View Post
Uh . . . what?
I expected to see just "yes" or "no".

Quote:
Originally Posted by fysiks View Post
I'm not "picking on words" (whatever that means), I'm clarifying for people who might not be as familiar with these functions already. It's not a critique of you.
I just wrote 1 word: "replace". And you started correcting me...
Sorry.
__________________
Now working on: Side Weapons (Very lazy, tbh)
Avatar source: https://bit.ly/3BAk19g
Discord: kww#9951
kww is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-27-2022 , 17:33   Re: I need a library to encode as JSON and HTTP POST, GET
Reply With Quote #22

Quote:
Originally Posted by kww View Post
I expected to see just "yes" or "no".
I had to verify it myself so I figured I'd include how I did that.
__________________

Last edited by fysiks; 11-27-2022 at 20:13. Reason: fix quote
fysiks is offline
deprale
Senior Member
Join Date: Oct 2018
Location: Leeds
Old 11-27-2022 , 20:00   Re: I need a library to encode as JSON and HTTP POST, GET
Reply With Quote #23

Quote:
Originally Posted by Levenus Supremus View Post
I recommend using AmxxEasyHttp instead of AmxxCurl, it is much easier to use.
https://github.com/Next21Team/AmxxEasyHttp

First of all, use json_decode to get a JSON handle and then use json_get_...
Your module is very good but I'm having a hard time to understand it even with the .inc stocks, could you kindly update us with a wiki on github with some examples at the very least of handling stuff?

I know "easy" is in the name but I'm kind of stupid and I think a lot of other "stupid" people might enjoy a wiki with examples rather than just the stock file.
__________________
deprale is offline
Reply


Thread Tools
Display Modes

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 07:46.


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