wcall

wcall is a simple python application providing the ability to send HTTP requests to a server and then view the responses — useful for testing REST applications. It’s not supposed to be a replacement for CURL or WGET — rather provide a less comprehensive app for basic testing.

At the moment features are limited, but will be added as necessary/requested.

wcall is licensed under the GPL.

Usage: wcall.py [options] method url
options:

  • -h, –help (show help)
  • -f FILE, –file=FILE (send a file, if not present, read from stdin)
  • -s HEADERS, –headers=HEADERS (send HTTP headers in format header1=val1&header2=val2)

For example:

wcall.py GET http://localhost:8080/someresource
wcall.py -f test.txt PUT http://localhost:8080/test
wcall.py POST -s “Accept-Language=ja” http://localhost:8080/test
wcall.py DELETE http://localhost:8080/test

Download wcall.py from here.

RSS feed | Trackback URI

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post