|
| Iniciado por JESMAD, 01,jun. 2019 02:39 - 1 respuesta |
| |
| | | |
|
| |
Miembro registrado 8 mensajes |
|
| Publicado el 01,junio 2019 - 02:39 |
Good day everybody
I need to create a webservice that receives automatic notifications from a third party API REST, how can I program this since the WS will only be waiting for it to send information in JSON format.
The API REST documentation is as follows:
https://www.waboxapp.com/assets/doc/waboxapp-API-v2.pdf
Request (POST form)
//Example
POST https://requestb.in/xh9tvh { "event": "message", "token": "abcd1234", "contact[uid]": "34666123456", "contact[name]": "Peter", "contact[type]": "user", "message[dtm]": 1487082303, "message[uid]": "62397B58E3E0B", "message[cuid]": "", "message[dir]": "i", "message[type]": "chat", "message[body][text]": "Hey! How are you doing?", "message[ack]": 3 }
-- Jesus Madrigal JESMAD Soluciones TICS |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 8 mensajes |
|
| Publicado el 02,junio 2019 - 03:40 |
Well for now solve the problem by receiving the data in webdev using the PageParameter () function, when trying with webservice they showed 400 and 500 errors.
-- Jesus Madrigal JESMAD Soluciones TICS |
| |
| |
| | | |
|
| | | | |
| | |
|