You can translate the question and the replies:

Pass username and password with RESTful api.

when i am calling http://localhost:9090/denodo-restfulws/ from python request,porst() it throws a 401 not authorize error. how can i pass username and password here?
28-01-2020 07:17:19 -0500

1 Answer

Hi, Whenever I need to execute HTTP methods from Python to the [RESTful Web Service]( of Denodo I make sure to add the parameter *auth* to the request method in order to send HTTP Basic Auth. For example: ``` x ='http://localhost:9090/denodo-restfulws/',data = my_data, auth = ('<your user>', '<your password>')) ``` Hope this helps!
Denodo Team
29-01-2020 19:20:34 -0500
You must sign in to add an answer. If you do not have an account, you can register here