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.
12-08-2022 07:21 PM
Hello,
I have a camera that can detect car plates and send the data via HTTP request when a plate is read.
I succeded to send the data to a test site like https://requestcatcher.com/
But I would like to be able to retrieve them in Node-red or in the CtrlX
By following this tutorial: https://developer.community.boschrexroth.com/t5/Store-and-How-to/Using-REST-API-of-ctrlX-CORE/ba-p/1...
I succeded to make a request to modify the value of a variable in the Ctrl X or in Node-Red from YARC.
But I have to put the Bearer token. The camera application does not allow me to add a header, and only offers me the basic authorization with the name and password.
Do you know a way to work around this problem?
Solved! Go to Solution.
12-09-2022 07:30 AM - edited 12-09-2022 07:39 AM
As Node-RED can open own listeners I simply used an "http in" to detect an incoming http PUT on relative path "/test" (tested with real and ctrlX COREvirtual):