Trying to create a custom webhook in the particle integration. I am a bit confused, tried multiple variations without any luck.
Getting error 401:
Double check that you configured your integration correctly. You may need to re-create it if this failure persists.
Here is my Postman code that is working well:
curl --location 'https://api.smartthings.com/v1/devices/qweu222222/commands'
--header 'Content-Type: text/plain'
--header 'Authorization: Bearer exxxxxxxx448b'
--data '{
"commands": [
{
"component": "main",
"capability": "switch",
"command": "on",
"arguments":
}
]
}'
How do I input this into the webhook builder. (Having problem with the data section, )
thanks