jamesgpearce / confess

[ARCHIVED] Uses PhantomJS to headlessly analyze web pages and generate manifests. You may be able to use the puppeteer-har package instead.
874 stars 101 forks source link

How to send post request using confess.js? #17

Open shubhendumadhukar opened 5 years ago

shubhendumadhukar commented 5 years ago

I am new to phantomjs scripting and I understand it is possible to send a POST request using page.open() method. Is it possible to use confess.js or modify it to send a POST request?

Also, currently only the URLs and pagetimings are listed. How do I fetch the response body and write to a file?