on 09-02-2016 4:42 AM
Hi All,
I have tried to set up HCP IoT. But I'm getting error in receiving messages.
To receive messages that have been pushed to a specific device through the Push Service.This message is cached in MMS. I'm trying to do GET request. But it is throwing error - "Access to the requested resource is not authorized (HTTP 401)".
Please help me in solving the issue.
Regards,
Sushil Rajakumar
Hello Sushil,
how do you send your HTTP request / with what tool? Make sure to provide an Authorization HTTP header with your request.
Regards,
Anton
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If we speak about getting the messages pushed TO the device here then this is the Data Services API which is protected with OAuth [1]
In postman you have an option to supply your requests with HTTP headers (see below)
Be aware that Postman may re-use your current browser session (where you are authenticated with SAML), so I suggest to close all browser windows and re-launch postman before doing the tests.
Regards,
Anton
Hello Sushil,
please let me know if your issue is fixed.
Regards,
Anton
Also, according to close the current thread -> Be responsive. If an SCN member has answered your question, please mark the answer as "helpful” or “correct”. Mark the discussion as “answered,” so that other members can find the answers more easily.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.