Hi everyone,
I have a Api request which generates OAuth1.0 signature dynamically everytime.
How can I achieve this in UiPath?
Any help would be appreciated.
Thanks
Hi everyone,
I have a Api request which generates OAuth1.0 signature dynamically everytime.
How can I achieve this in UiPath?
Any help would be appreciated.
Thanks
Try also with Python Scope for Python 3.10.7 as I remember, the HTTP Request is not working for OAuth1
Example of Python script:
import requests
from requests_oauthlib import OAuth1
import json
url = "https://myshop.io/medixum/wp-json/wc/v3/daev-products"
oauth_consumer_key = "..."
oauth_consumer_secret = "..."
oauth_token = ""
oauth_token_secret = ""
auth = OAuth1(oauth_consumer_key, oauth_consumer_secret, oauth_token, oauth_token_secret)
post = {}
run_request = requests.get(url, auth=auth, data=None)
pretty_json = json.loads(run_request.text)
print (json.dumps(pretty_json, indent=2))
#print(r.content)
Its not working
I made this post that could help you fix this issue:
OAuth1 not working with HTTP Request Activity - Help / Activities - UiPath Community Forum