Skip to Content
0
Aug 05, 2022 at 09:15 AM

PO 7.5 REST GET receiver - token in URL

162 Views Last edit Aug 05, 2022 at 09:16 AM 2 rev

Hello all

I'd like to ask you about specific authorization in REST adapter.

We need to connect to the portal with following URL template https://1a2b3c4d5e6f@api.riskmethods.net/....

1a2b3c4d5e6f is the token (of course here it is just an example).

If I send it through the postman or cUrl we've got correct answer with list of suppliers

but when I send it through PI I have always HTTP error occurred: Unauthorized

It is GET method, but I coudn't find any example where token is in the front of URL.

Do you have any idea if this type of communication is possible in PI 7.5?

Thank you very much for any hint or help

Petr Hodbod