Hi everyone!!
Good day!
What I am trying to do is to know how I can change this →
curl -X POST -H "api_key: <your_pushengage_api_key>" -H "Content-Type: application/x-www-form-urlencoded" -d 'notification_title=this is title of notification¬ification_message=this is message of notification¬ification_url=http://www.example.com&image_url=your_image_path/image.png' "https://api.pushengage.com/apiv1/notifications"
Into Corvid form…
I just converted the above curl into JSON form…
But I dont know if it is any good!!
The JSON form, I got →
{
"url": "https://api.pushengage.com/apiv1/notifications",
"raw_url": "https://api.pushengage.com/apiv1/notifications",
"method": "post",
"headers": {
"api_key": "<your_api_key>",
"Content-Type": "application/x-www-form-urlencoded"
},
"data": {
"notification_title": "this is title of notification",
"notification_message": "this is message of notification",
"notification_url": "http://www.example.com",
"image_url": "your_image_path/image.png"
}
}
Thanks!!