Skip to content

sending JSON push issue, incorrect content type  #233

Closed
@mohmagdy

Description

@mohmagdy

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

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