Last active
December 11, 2015 07:38
-
-
Save pcolazurdo/4567369 to your computer and use it in GitHub Desktop.
The following Javascript piece allows to write to browser console a sample CURL instruction for filling out a specific form -- thanks to fcingolani
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('curl -vv --data "' + $('input').map(function (){ return this.name + '=' + this.value }).toArray().join('&') + '" ' + document.location.href) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment