It was changed starting from version 9.0.0. See other threads.
Converting a php file from HTTP GET to POST JSON, about 3 lines. It's not complicated. I think this json format is better.
I agree posting a json is better and straightforward. Fixing the backend logic takes about 3 to 5 minutes maximum.
Anyone with the payload structure for appsettings/json?
I have the below in C# but not working:
public class GpsLocationRequest
{
[JsonPropertyName("id")]
public string Id { get; set; }
[JsonPropertyName("lat")]
public string Lat { get; set; }
[JsonPropertyName("lon")]
public string Lon { get; set; }
[JsonPropertyName("batt")]
public string Batt { get; set; }
[JsonPropertyName("altitude")]
public string Altitude { get; set; }
[JsonPropertyName("speed")]
public string Speed { get; set; }
[JsonPropertyName("bearing")]
public string Bearing { get; set; }
[JsonPropertyName("timestamp")]
public long Timestamp { get; set; }
}
May someone point me to the documentation that specifies this?
The documentation is here:
we have a server that parse messages according to url params. but now with new version our customer reports it doesn't work!!
we found out that messages are with json !!
but it is not appear in the documentation page in the site.
please explain what is happening here?
how can we get a version with POST and url params?