Hi, we need send JSON to API of a client, but have estrange problem
when send of the mobile this JSON
{
"CUD":"0600050000963933550106",
"Estado":"Entregado",
"SubEstado":"Entrega Exitosa",
"Courier":"CONECTA",
"Fecha":"2021-03-02 21:54:57",
"TrackNumber":"IQEN7UJR1T",
"Placa":"F6L467",
"IDReceptor":"11111111",
"URL":"www.conecta.net.pe",
"NombreReceptor":"DDDDDD"
}
li_return = lnv_HttpClient.SendRequest("POST",ls_web_service,ls_json)
the client receive the field "Fecha":"2021-03-02 21:54:57 "
with space blank in end of text
and return ERROR of format
{"success":false,"message":"Fecha must have the following format 2021-03-02 21:55:00","code":605}
BUT when send the same JSON of Client Server Application the client receive OK
we not send space black ,we review all the text
Please, somebody know what append
thank
Luis
Sorry for delay,
I try all step that you say, and not work, I had to change the process and create a procedure that sends from the server, because when it is sent from the cell phone, the API does not work, it receives the date with an additional space at the end of the string
If this is a repeatable error and you can create a simple test case, please open a Support Ticket for this problem.
Regards ... Chris