Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on March 5, 2025 11:04PM
Likes: 0
Replies: 1
I found this article but i have some questions, hope someone can help me.
I created a standard webapp with python server, im trying to access the endpoints from postman.
I'm sending my project apikey as suggested by documentation but I'm receving this message:
<body> <h1 style="margin-top: 50px">HTTP error 401 (Not authenticated)</h1> <h3>The webapp backend mandates that the current browser has been logged in into <a id="redirect_login" href="/">DSS</a>.</h3> <h3>You will be redirected to the login page shortly...</h3> </body>
This is how im sending my apiKey:
The API key can be sent using either HTTP Bearer Token Authentication or Basic Authentication:
SO THE QUESTION IS:
Why i dont receive a response from my backend? And im missing something, on the post they are getting response without any type of apikey but im not even getting to that point.
Thanks
PD I dont have permissions to create api's with API Designer so im seeing as an alternative.
Well the post you linked says you should pass the key as an HTTP header variable ("X-DKU-APIKey") not using basic authentication. So change your Postman request to pass the key via the required variable. And the API Designer is something completely different than Webapps so it’s not relevant to your issue.