On 17/03/19 9:43 PM, bikram40 wrote:
Thanks for your feedback.
But there is a problem in 'URI' module.
In "URI" module, there is no way to pass "access token". Access token
is required here as the url is OAUTH2.0 enabled.
You can get access token by passing client id and secret but you
cannot pass it to uri module to get the response back. That's why I am
trying to use curl command and sending the JSON body.
Something seems off here.
I don't see how are you are passing 'access_token' in your curl command
line example.
You can send 'access_token' via URI module in request body, header or URL.
-
Sudheer S
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/be015628-d567-2ef2-0150-661008594503%40techchorus.net.
For more options, visit https://groups.google.com/d/optout.