Thread
:
REST in Pawn 1.3 - HTTP client for JSON REST APIs (Updated 2021/08/22)
View Single Post
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
06-07-2021 , 15:40 Re: REST in Pawn 1.3 - HTTP client for JSON REST APIs (Updated 2021/06/06)
#
104
How are you reading the POST data in Laravel? This works for me with both Postman and REST in Pawn:
PHP Code:
Route
::
post
(
'/post'
, function (
Request $request
) {
return new
JsonResponse
(
$request
->
all
());
});
__________________
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; 06-07-2021 at
15:41
.
DJ Tsunami
View Public Profile
Find More Posts by DJ Tsunami