question

Upvotes
Accepted
1 0 0 2

Attempting to call an api which has urls using https and digest authentication

Can make the GET request work by requesting twice to mimic the digest process and turning SSL cert verification off. These requests also work in a browser merely by pasting the url. The POST requests always fail. The data is raw application/json in the body. Have used the two request but get a 401 regardless. Tried passing the data as params and binary json. Not sure how to choose a forum, so picked the first one.

Examples:

This works: GET "https://192.168.201.85/mars/sources" gets a list of sources"

This doesn't: POST "https://192.168.201.85/mars/sources"

with raw,application/json as follows:

{
  "primaryName": "Test Output",
  "secondaryName": "",
  "secondaryuri": "",
  "URI": "244.23.42.24:33423",
  "type": "",
  "comment": "",
  "adGroups": [
   "public"
  ],
  "input": false,
  "outputs": {},
  "active": false
 }
authenticationurl
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
23k 22 9 14

Hello @jimjones,

This is a forum dedicated to Thomson Reuters APIs.

If the service you are requesting from is not provided by Thomson Reuters,

please refer the question to the provider of the service?

Thanks,

-AHS

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
1 0 0 2

What product: It is a custom built suite of applications using golang and Sencha. The service I am requesting from is the REST API built into each of the applications. None of the applications or technology are provided by Thomson Reuters

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