SA-MP Forums Archive
Is it OK to use API? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Is it OK to use API? (/showthread.php?tid=630399)



Is it OK to use API? - amirm3hdi - 13.03.2017

So I want all my database requests handled by another server and communicate with SAMP via HTTP.

Is it ok? like when a user tries to login, I send an HTTP to my API backend and receive the data.


Re: Is it OK to use API? - jlalt - 13.03.2017

Yes it is! however it can be slow and less secured [ can be abused to get users passwords ( like spam guess by going on that link and checking result... ) ].

and also there was some crashes with samp HTTP function so better to not use it.

https://sampforum.blast.hk/showthread.php?tid=303055
https://sampforum.blast.hk/showthread.php?tid=395245
https://sampforum.blast.hk/showthread.php?tid=488439