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

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: Deather
Forum: Extensions 06-07-2021, 16:26
Replies: 116
Views: 117,493
Posted By Deather
Re: REST in Pawn 1.3 - HTTP client for JSON REST APIs (Updated 2021/06/06)

Laravel:

Route::post('/test', function (Request $request) {
return response()->json($request->all());
});


Simple PHP:

<?php
Forum: Extensions 06-07-2021, 14:07
Replies: 116
Views: 117,493
Posted By Deather
Re: REST in Pawn 1.3 - HTTP client for JSON REST APIs (Updated 2021/06/06)

Is it possible to log request?

When I try to send some POST data to my API (Laravel), backend receives empty request (headers and method are correct, but there is no POST data).


...
Forum: Scripting 06-24-2020, 16:10
Replies: 43
Views: 109,198
Posted By Deather
Re: Enum Structs Available This Holiday Season

enum struct STest
{
int a;
int b;
}
STest test;

STest[] GetTest()
{
return test;
Forum: Scripting 06-24-2020, 13:30
Replies: 43
Views: 109,198
Posted By Deather
Re: Enum Structs Available This Holiday Season

Is it possible to return enum struct in function? Code below doesn't work.


enum struct STest
{
int a;
int b;
}
STest test;
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 03:21.


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