Rest accessing API error only from app

I created a simple Rest service to connect to my API backend.
When I hit "test", I have a successful response, and my webserver logs a http 200 access.
However, the same rest service from inside my app, gives me an error response, error 401 in my webserver.
What could I be doing wrong? It did work for a few refreshes, but stopped. Where should I look at? It uses an authorization header (Authorization: Basic XXXXX) that works from the Rest settings, as I mentioned.
1 person has
this question
This topic is no longer open for comments or replies.