POST request in a route

Probably in the params array of the remote::post() method, see

So you would add a headers array to your second argument.

But honestly, I’m not quite sure what you are doing there.

Do you want your route to send a request, then wait for the response and then return that? Because currently, your route only sends a post request, nothing else.