I'm having trouble getting a POST request in Mithril.js to a locally hosted version of this repo to generate a PDF from the URL I pass through. The URL field is undefined on the server side.
Unfortunately I don't have time to help debugging this. url is undefined in the opts, please double check the body format or use GET request with ?url=X query param.
Hi there,
I'm having trouble getting a POST request in Mithril.js to a locally hosted version of this repo to generate a PDF from the URL I pass through. The URL field is undefined on the server side.
This is what my call looks like:
On the server side I output the opts. I get this:
When I do a curl command it works as expected, html is null and url contains the expected url.
What am I doing wrong? Thanks in advance!