I have a problem implementing an API that works with Java, but fails to work with cURL. We\'ve gone through everything so far and there must be something that is different betwe
for headers you can try apache_request_headers() and for body I dont know other method than file_get_contents('php://input');
file_get_contents('php://input');