We’ve been setting up a REST client but failed at configure the authentication. The API requires you to authenticate with a token.

The documentation of the API tells you to pass the token through the «Authorization» header with its value being for example «Token: d2f763479f703d80de0ec15254237bc651f9cdc0». Doing this in the REST Client Activity element wasn’t successfully.

So, what’s the correct way to pass the token to the API for authentication

asked 23.10.2017 at 10:08

Marco%20Klauenb%C3%B6sch's gravatar image

Marco Klauen...
(suspended)
accept rate: 100%


We have solved it. There wasn't anything wrong with the token. We had to add the HTTPS certificate described here: https://answers.axonivy.com/questions/421/import-certificate-for-https-web-service-calls

link

answered 24.10.2017 at 04:39

Marco%20Klauenb%C3%B6sch's gravatar image

Marco Klauen...
(suspended)
accept rate: 100%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×37
×33
×16

Asked: 23.10.2017 at 10:08

Seen: 1,915 times

Last updated: 25.10.2017 at 02:02