Could anyone tell me why the following statement does not send the post data to the designated url? The url is called but on the server when I print $_POST - I get an empty
I had the same problem in express .. to resolve you have to use bodyparser to parse json objects before sending http requests ..
app.use(bodyParser.json());