pgbrowser icon indicating copy to clipboard operation
pgbrowser copied to clipboard

Submitting POST forms

Open s22-tech opened this issue 4 years ago • 0 comments
trafficstars

Is it possible to fill out and submit POST forms using PGBrowser, or just GET forms? It looks like it from the code, but I can't get it to work and I couldn't find an example.

I'm assuming you'd use:

$b = new PGBrowser();
$page = $b->post($url, $body, $headers);

but what information should be supplied for $body and $headers? Would you be able to post an example?

Thanks,

s22-tech avatar Jul 02 '21 00:07 s22-tech