hoppscotch / hoppscotch

Open source API development ecosystem - https://hoppscotch.io (open-source alternative to Postman, Insomnia)

Home Page:https://hoppscotch.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug]: REST GET request always send null body

gturi opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When sending a GET request with a body the body is not sent but the curl is correctly generated. Even though a GET request with body is not standard by REST specification it is still possible to create a REST endpoint that accepts a body.

Steps to reproduce

  1. Create a get request with a json body.
  2. Send it to an endpoint.
  3. Verify that the received body is null.

Environment

Production

Version

Cloud

Hey @gturi I want to work on this can you assign this to me?

@aryans1319 I am not the owner of the repo, so I do not think I can assign it to you. But if you want to work on it, I think you can fork the repo and create a branch that closes this issue