question

Upvotes
Accepted
1 1 1 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 512.0 KiB each and 1.0 MiB total.

Hello @jimjones,

Could you please be a little more specific,

Which specific requests are you making?

Thanks,

-AHS

Hello @jimjones ,

I apologize, but to me this does not look familiar.

However, we would like to help you.

Could you provide us with a bit more info, what product are you using, what service are you requesting from, are they provided by Thomson Reuters?

Thanks,

-AHS

@jimjones
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.
Otherwise please post again offering further insight into your question.
Thanks,
-AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS

Upvotes
Accepted
32.2k 40 11 20

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 512.0 KiB each and 1.0 MiB total.

Upvotes
1 1 1 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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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