Skip to content

f-prime/HTTPLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7689978 · Dec 5, 2017

History

47 Commits
Jun 7, 2015
Dec 5, 2017
May 26, 2015
May 28, 2015
Aug 17, 2015
Dec 5, 2017
Dec 4, 2017
Dec 5, 2017
Dec 5, 2017
Dec 5, 2017
Dec 5, 2017
Dec 5, 2017

Repository files navigation

About

HTTPLang is a scripting language that makes writing HTTP request routines simpler.

Current Version

0.2.0

What could I use it for?

  • Testing APIs
  • Web Scraping

Installation

  • Clone the repo
  • Run python setup.py install

Usage

httplang l<file.http>

Documentation

Important Note

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.

Examples


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"

About

A scripting langauge to do HTTP routines.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages