REMINDER
API key
-
Hi there, does anybody have an example of how to setup the API function API key? Whatever I'm trying in Postman unfortunately does not work ...
-
Hey Dick,
you must pass the "APIKey" in the Body as x-www-form-urlencoded like this in postman
Please keep in mind that this APIKey protection is made to be used from other backends, and never from frontend code, this would expose your API Key publicly!
-
Hi Joseph, what if I want to send it as application/json? I've tried putting the code that's in the api test routine, but that does not work.
{ "name": "test", "idfm": "1001", "APIKey": "29ec641e-etc." }
-
It won't work as it's expecting Body as x-www-form-urlencoded
-
Hi Joseph, thanks! ... and uh ... if I understand correctly; APIKey will not (yet?) work with application/json?
-
That's exactly what I said. you must pass the API Key as x-www-form-urlencoded body
We might later accept "application/json" but for now we don't