Skip to content

advanced targeting #1771

Closed
Closed
@iedux

Description

@iedux

When im trying to send a push to only one device through a device token it is sending a error like this:

{"error":"Unexpected token }"}

Can you help me to figure out , thanks, this is the curl im using

curl -X POST
-H "X-Parse-Application-Id: appIdNumber"
-H "X-Parse-Master-Key: MasterKeyNumber"
-H "Content-Type: application/json"
-d '{
"where": {
"deviceToken" : "erwrwerew.rwe......."
},
"data": {
"title": "Hey",
"alert": " hello",
}
}'\ http://hostname/parse/push

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions