I'm trying to send a POST request to an URL , I can do this easily in POSTMAN by setting the URL and the parameter array. But I need to send the request in PHP . What is the easiest way to do this ? below is an example parameter array .
{
"receiver":"01234567890A=",
"min_api_version":1,
"sender":{
"name":"John McClane",
"avatar":"http://avatar.example.com"
},
"tracking_data":"tracking data",
"type":"url",
"media":"http://www.website.com/go_here"
}