Skip to content

Fix in Postman collection (Discover API)

In Discover API request from postman we use some enviromental variables to form the URL. More specifically the url is the following:

https://{{CAPIF_HOSTNAME}}/{{DISCOVER_URL}}{{INVOKER_ID}}

The {{INVOKER_ID}} variable is "?api-invoker-id=INV..."

When someone tries to insert new query parameters from Postman UI (in the Params tab), the parameters are added on the URL like that: https://{{CAPIF_HOSTNAME}}/{{DISCOVER_URL}}{{INVOKER_ID}}?api-name=...&aef-id=...

However character "?" is added 2 times and thus the request fails.

I think we shall either change the {{INVOKER_ID}} and "hardcode" the question mark in the URL or add api-invoker-id as a parameter from the beginning