FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
10-18-2022 03:44 PM - last edited on 10-24-2022 12:11 PM by CodeShepherd
Is there some way to allow for bearer token included as query parameter? Currently this does not seem to work, but I am working on an application with a fixed request body that sends POST to an endpoint.
Solved! Go to Solution.
10-18-2022 05:38 PM - edited 10-24-2022 12:11 PM
@Sgilk could you please send us some more information what you are doing and what is needed?
10-19-2022 08:32 PM - last edited on 10-24-2022 12:11 PM by CodeShepherd
@CodeShepherd I am simply generating these requests in Postman. I am attempting to read/write an endpoint on the ctrlX datalayer.
Rather than including the access token in the header, I would like to be able to include as a query parameter.
This screenshot is the working command.
Sending the authorization as a query paramater would be useful for APIs that have a fixed configuration and only accept an endpoint URL.
As an example,
https://207.153.30.155:55555/automation/api/v1/Matroid-Data-Provider/Endpoint1?access_token=eyJhbGciOiJFUzM4NCIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjYxMjc3MjQsImlhdCI6MTY2NjA5ODkyNCwiaWQiOiIxMDAwIiwibmFtZSI6ImJvc2NocmV4cm90aCIsIm5vbmNlIjoiOThhMDI2MWUtZTFlZC00NTQzLWE2ODUtM2ZiNjhiZTczY2ZiIiwicGxjaGFuZGxlIjoyLCJyZW1vdGVhdXRoIjoiIiwic2NvcGUiOlsicmV4cm90aC1kZXZpY2UuYWxsLnJ3eCJdfQ.FlbJmjBEEDUuOHOuFQkVXfs7zH1K8uPnvat5SztRopOOx1cFMx68P_ZXoKjkfbuwmE0gv7qnGIAek2MLeNEk8TNIwAJT8bsm672VitnT8DQHNIpaNcV5oiX2TO_7bjby
10-24-2022 12:12 PM
Some of our APIs already can use query parameters but there is no centralized functionality. We are working on that.