Skip to content

advanced targeting #1771

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iedux opened this issue May 12, 2016 · 2 comments
Closed

advanced targeting #1771

iedux opened this issue May 12, 2016 · 2 comments

Comments

@iedux
Copy link

iedux commented May 12, 2016

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

@drew-gross
Copy link
Contributor

We have lots of passing test cases that cover these features. Can you post some code that reliably reproduces your issue? Ideally as a test case we can add to our test suite.

@iedux
Copy link
Author

iedux commented May 12, 2016

I just found my error, i was testing from command line and i had to remove "" and put all in one line. Thanks for the help. Really love parse server :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants