I appreciate your reply. You are seriously a rockstar!
That’s not quite what I want to do. I want to be able to make a REST call by passing data on the headers instead of two separate calls - one to authenticate and one for my API.
The article I referenced helped me figure it out but there wasn’t good Wappler documentation on how to get the HTTP header values.
Here’s what I ended up doing:
Followed the steps in this article to set up a User table
Created 2 new server variables
Added a condition to check for the presence of the header key and if it’s provided, login.
Then in postman provided the api-key and api-secret values
Hi. Thanks for sharing this information. This method looks very much like the approach I need to take in order to send data securely to my Wappler backend db from a remote golang app. Did you find this api header auth approach works well?