Skip to content
This repository has been archived by the owner on Apr 18, 2020. It is now read-only.

Latest commit

 

History

History
15 lines (9 loc) · 485 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 485 Bytes

POST to GET proxy

I made this to work around the fact that Insomnia doesn't support GraphQL APIs that work with GET queries. Kong/insomnia#1890

Instructions

  • Clone the repo
  • bundle install
  • ruby server.rb
  • If you're testing https://website.com/api/graphql, change that URL to http://localhost:4567/api/graphql in Insomnia and add the X-Forward-To: https://website.com in the request's headers

Warning

Very vulnerable to SSRF. :)