1
I need to consume a Rest api that returns json.
The system was made with Delphi, I’m using the ide Delphi xe7, I never made requests to consume api on desktop systems, based on where I start?
RESOLUTION http://balaiotecnologico.blogspot.com/2013/07/lendo-dados-json-em-aplicacoes-delphi.html
First you have to have the link to start consuming the data, type of authentication, data filtering and with the return will have access to JSON, would have to treat and feed your desktop system. At least that’s what I understood, if you have more information you would have to specify better in the question.
– Jefferson Rudolf
yes, I have the all right api and routes working. Vi q in the proper ide of Delphi has the restClient ...request and Response components. with them I can connect with the api using urlBase, now I want to take and send json and format to display on the system
– Brendon R Silva
Since you have JSON, now just treat it to view on the system. Here is an example of how to read data from JSON http://balaiotecnologico.blogspot.com/2013/07/lendo-dados-json-in-applications-delphi.html and in the documentation from Embarcadero http://docwiki.embarcadero.com/RADStudio/Rio/en/JSON. What would help you tbm, is the Postman, so you can see the structure that is returning.
– Jefferson Rudolf
vlw, that already helped.
– Brendon R Silva