AWS Thinkbox Discussion Forums

Deadlinewebservice user and password with python requests

I am trying to experiment with setting webservice password for users.
image

Is this possible with using Python requests library? What kind of authentication it would be?

I tried Basic Authentication as most obvious one, but I am still receiving 401. (Tried using Postman too.)
(tried on just basic http://localhost:8081 - which works without enabling authentication and http://127.0.0.1:8082/api/jobs.)

I am reasonable sure I am using correct combination of credentials.

I am using:

  • Deadline Client Version: 10.3.1.3 Release
  • Repository Version: 10.3.1.3

Thanks for reply.

I’m not sure what you’re asking here - you mean to ask how to use the credentials you’ve set, not how to set them right?

Assuming the former you could use the Standalone API as it’s a Python wrapper for the RESTful interface and avoid figuring out Python’s requests module altogether.

Otherwise it should be basic authentication, using that password and the user’s username.

Privacy | Site terms | Cookie preferences