HTTPLang is a scripting language that makes writing HTTP request routines simpler.
0.2.0
- Testing APIs
- Web Scraping
- Clone the repo
- Run
python setup.py install
httplang l<file.http>
HTTPLang is very strict about things like spaces. Make sure that your code matches the spacing and what not exactly as shown in the examples. If not there will be errors.
set URL "http://google.com"
do GET "/
show RESPONSE
set URL "http://google.com"
label "loop"
do GET /
show STATUS
goto "label"
set URL "http://somesite.com"
set POSTDATA "username=myUsername&password=myPassword is this"
do POST "/login"
set COOKIE TMPCOOKIE
do GET "/usercp"