I tried touse fiddler(see below image) to push a notification using below http request , but always get {"ok":false,"error":"Unauthorized","error_code":40101} error code.
I have already put my master secret in there.
why still return unauthorized error code? is there anything ,I am missing?
https://go.urbanairship.com/api/push
Authorization: Basic
Accept: application/vnd.urbanairship+json; version=3;
Content-Type: application/json
{
"audience": {
"ios_channel": "38ab0776-6115-4b6d-b748-0f0807598518"
},
"notification": {
"alert": "Hello!"
},
"device_types": "all"
}
Comments
3 comments