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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
11 4 4 5

Get token failed by url

I want to access to url: https://192.165.219.152/DatascopeApi/v1/Authentication/RequestToken

to get the token from my chrome.

But I get no response except for "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable"

Is there some problems in my url?

dss-rest-apidatascope-selectdsstoken
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
11.3k 25 8 13

@chenchong

The endpoint seems not correct. It should be https://192.165.219.152/RestApi/v1/Authentication/RequestToken

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.

Thank you so much.

Upvotes
38.1k 71 35 53

That URL doesn't support HTTP GET request. You need to use HTTP POST request with Username and Password in its body.

{
  "Credentials": {
    "Username": "33314",
    "Password": "XXXXXXX"
  }
}

I suggest Postman as a tool to test TRTH V2 API. To use Postman with TRTH V2 REST API, please refer to this video.

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.

I use the postman and try again, but get the same result:

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable

Is there any problem with my account? my Account is 9013510

Click below to post an Idea Post Idea