I’m writing a node js Azure function to create a record in a custom module and when I post the JSON values it returns with a 401. Using the same API key I call a “GET” function on that same custom module and I am able to list filters and drill down a specific record. I’ve setup Postman with variables for the api key so I know the key works. The only difference between Postman and my app I find is the headers, I’ve included the same Authorization headers and content-type headers. The other headers Postman specific so I doubt they are relevant.
I have verified the url is in the correct format according to the documentation
What are the required headers needed to POST to a custom module?
If I call a GET method on a custom module then simply switch the method to a POST, why is it returning a 401?