Is it possible to config Basic Authorization in URL instead of Request Header

Product/components used and version/fix level:

Cumulocity OpenAPI

Detailed explanation of the problem:

Is it possible to config Basic Authorization in URL instead of Request Header ?
As we know, all request to Cumulocity need carrying ‘Authorization’ in request header.
For some reason, the device just allow to config a URL to output data with HTTP/s.
Is there any solution for that ?

Error messages / full error message screenshot / log file:

Question related to a free trial, or to a production (customer) instance?

Hi,

something like https://<user>:<password>@<tenantDomain>/tenant/currentTenant works fine for me in Firefox and Postman.
You may need to URL encode the user/password.

But this might require a compatible http client.

Regards,
Tristan

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.