Skip to content

sending JSON push issue, incorrect content type #233

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
mohmagdy opened this issue Apr 6, 2016 · 1 comment
Closed

sending JSON push issue, incorrect content type #233

mohmagdy opened this issue Apr 6, 2016 · 1 comment

Comments

@mohmagdy
Copy link

mohmagdy commented Apr 6, 2016

Hello

i have noticed that the dashboard desnot send the JSON push notificaiton correctly

when i try to send JSON like
{
"alert": "test ",
"url": "http://ikhair.net" }

from the dashboard , i am not receiving any thing , while from rest api it works with no issue
the only deference in posted Rest request from dashboard vs the Manuel REST call is the content type
, on dashboard its always 'text/plain' even if JSON option is selected on the text box .

while with direct RESTAPI the 'content-type': 'application/json',

Note :sending text only push from dashboard works with no issue

@drew-gross
Copy link
Contributor

The Parse Dashboard uses the Parse SDK to send pushes, so I think this issue belongs in the Parse-SDK-JS repo. Could you reopen it over there?

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

No branches or pull requests

2 participants