httpie / http-prompt

An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie

Home Page:https://http-prompt.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sending `GET` on `post` with empty body

dector opened this issue · comments

commented

Steps to reproduce:

  • Run server with responses logging on localhost.
  • http-prompt localhost
  • > post

Expected result:

  • Server logged POST request.

Actual result:

  • Server logger GET request.

Workaround:

  • Enabling --debug before sending requests makes app to send proper POST request.