I have problem when I want to get the access token
I use
{ "appName": "homebridge", "appSecret": "MDAwMTExMDAwMTExMDAwMTExMDAwMTExMDAwMTExMDA=", "instanceName": "homebridge" }
then it give me
{"code":12,"message":"Invalid JSON"}
it ok to get code 12 not 16?
then I pressed the button 3 second and give me green light but after that it give me red light not white
The JSON looks fine. Please check whether you send the JSON as raw body (not form data or URL encoded) within a POST request. I can recommend Postman as a HTTP request/response tool with a great UI.
Hi..
I have problem when I want to get the access token
I use { "appName": "homebridge", "appSecret": "MDAwMTExMDAwMTExMDAwMTExMDAwMTExMDAwMTExMDA=", "instanceName": "homebridge" }
then it give me
{"code":12,"message":"Invalid JSON"}
it ok to get code 12 not 16?
then I pressed the button 3 second and give me green light but after that it give me red light not white