0
1
I'm trying to POST content to a web server and read the response. So far I have the following code:
curl -v -H "Accept: application/json" -H "Content-Type: application/json" -X POST -d 'action=servers_recommendations&filters={"country_id":108}' https://example.com/wp-admin/admin-ajax.php?action=servers_recommendations&filters={"country_id":108}
The response looks like it's only hitting one part of the post:
POST /wp-admin/admin-ajax.php?action=servers_recommendations
How do I send both parts of the POST request and have it return the content?