README.rst 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. HTTP Prompt (A WORK IN PROGRESS)
  2. ==============================
  3. |Build Status|
  4. An interactive command-line HTTP client featuring auto-completion and syntax
  5. highlighting.
  6. Use case::
  7. $ http-prompt http://httpbin.org
  8. Welcome to HTTP Prompt!
  9. http://httpbin.org> cd post
  10. http://httpbin.org/post> name=bob email=bob@example.com
  11. http://httpbin.org/post> sex==M --form
  12. http://httpbin.org/post> post
  13. HTTP/1.1 200 OK
  14. Access-Control-Allow-Credentials: true
  15. Access-Control-Allow-Origin: *
  16. Connection: keep-alive
  17. Content-Length: 473
  18. Content-Type: application/json
  19. Date: Wed, 27 Apr 2016 09:04:29 GMT
  20. Server: nginx
  21. {
  22. "args": {
  23. "sex": "M"
  24. },
  25. "data": "",
  26. "files": {},
  27. "form": {
  28. "email": "bob@example.com",
  29. "name": "bob"
  30. },
  31. "headers": {
  32. "Accept": "*/*",
  33. "Accept-Encoding": "gzip, deflate",
  34. "Content-Length": "32",
  35. "Content-Type": "application/x-www-form-urlencoded; charset=utf-8",
  36. "Host": "httpbin.org",
  37. "User-Agent": "HTTPie/0.9.3"
  38. },
  39. "json": null,
  40. "origin": "x.x.x.x",
  41. "url": "http://httpbin.org/post?sex=M"
  42. }
  43. .. |Build Status| image:: https://api.travis-ci.org/eliangcs/http-prompt.svg?branch=master
  44. :target: https://travis-ci.org/eliangcs/http-prompt