-1
I need to consume an api to integrate with a system developed in Delphi, it is necessary to pass information in the request header (key/value).
Api data:
- Url: https://diskfonepabxapi.azurewebsites.net/api/diskfonepabx
- Header (key/value): diskfonepabx-api-key/1f7a7aea-32d5-4b19-b9e2-1869d9d0d82e
Before implementing the request in Delphi tested via Postman and worked, as shown below:
However, when testing by REST Debugger of Delphi is not working, I tried in several ways, what I am doing wrong?
Could you help me?
In the image of the Postman who posted there are Hidden headers, could add these other headers on
restdebugger.
and check if it works. In the image you can see that there are 7 Hidden headers. But I think the header is missing:Content-Type: application/json
– Danizavtz
@Danizavtz would like to thank you, I followed your advice and put the Hidden headers that were on Postman on REST Debugger and it worked. I’m new to Stack Overflow, how do I classify this question as answered and associate it with your name? Thanks again.
– Leandro