We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to send POST request in R but didn't work. I tried:
require(httr) token_endpoint = 'https://icdaccessmanagement.who.int/connect/token' client_id = '-------' client_secret = '----' scope = 'icdapi_access' grant_type = 'client_credentials' r <- POST(token_endpoint, add_headers('client_id'= client_id, 'client_secret'= client_secret, 'scope'= scope, 'grant_type'= grant_type))
with package httr following a Python version of this https://github.com/ICD-API/Python-samples/blob/master/sample.py
httr
but I don't know where to find access_token in r
access_token
r
The text was updated successfully, but these errors were encountered:
Please, do not put real id and secret in examples. I edited your post.
Sorry, something went wrong.
FWIW I can still view the secrets in the history of the post.
No branches or pull requests
Trying to send POST request in R but didn't work. I tried:
with package
httr
following a Python version of this https://github.com/ICD-API/Python-samples/blob/master/sample.pybut I don't know where to find
access_token
inr
The text was updated successfully, but these errors were encountered: