[SOLVED] How to pass api key properly? #972
Unanswered
KendrickMichaud
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Sorry for bringing this up, but I can't figure it out... Where do you find the API key? I'm running HAOS addon and the key is nowhere to be found. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't know if this is an issue with CompreFace or something with the postman requests.
I have built CompreFace on an ec2 instance and have been trying to get postman to work with the API.
I have the API key and all the headers/body but everytime I send the request I get
{
"message" : "Service API key should be UUID",
"code" : 26
}
I am sending the x-api-key as:
"cc555555cc5-c555-5555-555555"
Any thoughts or suggestions?
Edit: I tinkered through Postman and disabled every header except for postmantoken, host, content-type, x-api-key. I then removed the quotes and this time it worked!
Beta Was this translation helpful? Give feedback.
All reactions