php-rest-curl
php-rest-curl copied to clipboard
rest curl post get 400
iam try to use
$url = "https://graph.facebook.com/v2.6/me/messages?access_token=".$accessToken; RestCurl::post($url);
but get in status 400 how to use post method?
// POST $result = RestCurl::post($URL, array('name' => 'RestCurl'));
You are sending nothing, the request post need an array.
PS: HTTP Status 400