Issue with sending JSON payload using wp_remote_post() – WordPress
I am trying to send a JSON payload to an endpoint using wp_remote_post() Payload: $body = [ 'stock_data' => [ 'post_title' => $title, 'post_content' => $content, 'post_date' => $postdate, 'post_category' => $categoryname ]]; But this is what shows up at…