For a deeper look into our DataScope Select SOAP API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
17 1 1 9

Authorization Token Necessary?

I noticed that if I don't add an Authorization Token to the header of a Request but instead use Basic Auth with my username and password I'm still able to retrieve data. Is this approach ok?

dss-rest-apidatascope-selectdssauthentication
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
13.7k 26 8 12

@vikas.khurana, technically it works, but using that approach means you are going through the authentication process with each request. I'm not sure about this, but I think this might incur a slight overhead. I'd use the standard approach of tokens, which are valid for 24 hours.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
84 3 0 1

@vikas.khurana yes, that should also work. it is working for me with postman. But the user has to enable "authorization" in the Headers tab

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea