Hi,
Has anyone managed to connect to Arduino IOT cloud using their API please?
I have tried it as a REST using the cliend ID and secret ID that arduino IOT cloud gives as the username and password in Out systems but it doesnt connect.
Hi Joel,
Can you please provide more details about the API so we can try it?
Is there any documentation for that API you are referring to?
Regards
Hi Paulo,
Thank you for responding so quickly. I am using the information from the link below:
https://docs.arduino.cc/arduino-cloud/getting-started/arduino-iot-api#api-keys--authentication
The image attached shows the response I get. I have changed the username out for a string of * for obvious reasons.
Nowhere in the documentation can I find you need to use Basic Auth? If seems you need to request an access token?
Isnt that what I have with the client Id and secret id?
Hi Joel, apparently the free plan doesn't allow the creation of any API keys.
No, not at all. The page you referenced explains in detail what you need to do, and nowhere does it list Basic Authentication, so why you assume you need it I don't understand.
I can create them on my account, are you able to DM me and I can send you the details for it.
thanks for your help
Thanks Kilian, it was me getting confused.
What are the steps I should be following to connect to that API?
I am completely new to Outsystems
Well, first you need to understand what the steps are in e.g. Postman (as described there), so you can map that to OutSystems. Unfortunately, I have currently too little time to dive into it.
Thanks Kilian, I will give that a go.