0

Does the following code require curl?

$response = wp_remote_post( $url, [ 'body' => json_encode( $data ) ] );
  • Have you tried to run the code without curl? – czerspalace Mar 14 '17 at 18:14
  • @czerspalace I don't have access to php.ini to disable curl. – bfl Mar 14 '17 at 18:19
  • Check your error logs to find out. – Samuel Elh Mar 14 '17 at 21:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.