I am trying to HTTP POST JSON encoded data to a remote server.
Using cURL, this would be done as
curl -X POST -H "Content-Type: application/json" -d '{"name":"Jeff"}' http://somesite/someuri
I can not find a Laravel approach to doing this.
[ * * * UPDATE: My Solution * * * ]
I ended up using PHP's HttpRequest
$httpRequest_OBJ = new httpRequest($server, HTTP_METH_POST, NULL);
$httpRequest_OBJ->setBody($jsonEncodedData);
$httpRequest_OBJ->setContentType('application/json');
$result = $httpRequest_OBJ->send();
$reply = $result->getBody();
Guzzle
to wrap your curl requests. guzzlephp.org