View Single Post
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 06-13-2021 , 06:01   Re: REST in Pawn 1.3 - HTTP client for JSON REST APIs (Updated 2021/06/06)
Reply With Quote #106

Quote:
Originally Posted by Deather View Post
It will be really nice to log what extension sends to backend (to be sure that isn't extension bug)...
I've attached debug builds for Linux and Windows. It would also be useful to know what webserver you're using (Apache / nginx / Caddy?), and which version.

Laravel should automatically fill the Request object if the Content-Type is application/json. PHP's $_POST variable will only be filled when posting form data.
Attached Files
File Type: zip Linux.zip (4.35 MB, 164 views)
File Type: zip Windows.zip (1.49 MB, 124 views)
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 08-24-2021 at 13:00.
DJ Tsunami is offline