Last active
August 11, 2020 13:58
-
-
Save darkcolonist/adb60994475fb7c864bd488ea79e4881 to your computer and use it in GitHub Desktop.
http requester & requester guide & usage for sublime text that works with PHP POST
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
### HTTP REQUESTER ### | |
POST http://localhost/test/index.php | |
Content-type: application/x-www-form-urlencoded | |
POST_BODY: | |
k1=v1&k2=v2 | |
POST http://localhost/test/index.php | |
Content-type: application/json | |
Host: google.com | |
Cookie: SOMECOOKIE | |
POST_BODY: | |
{"key":"value"} | |
POST https://jsonplaceholder.typicode.com/posts | |
Cookie: SOMECOOKIE | |
Content-type: application/json | |
POST_BODY: | |
{"key":"value"} | |
### REQUESTER ### | |
post('http://localhost/test/index.php', | |
headers={"content-type":"application/x-www-form-urlencoded"}, | |
data={ | |
"keyyy-nervate" :"valll-retroactive" , | |
"keyyy-polypody" :"valll-ladakin" , | |
"keyyy-unremonstrant" :"valll-unmetropolitan" , | |
"keyyy-exoticism" :"valll-monarchy" , | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment