[GH-ISSUE #2218] [feature]: Preview final REST request before sending #760

Closed
opened 2026-03-16 17:03:47 +03:00 by kerem · 3 comments
Owner

Originally created by @n-alonso on GitHub (Mar 31, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2218

Is there an existing issue for this?

  • I have searched the existing issues

Summary

I tried to find in the documentation if this was possible, plus checked the opened issues to see if it was already raised but I could not find, please forgive me if I missed it.

Essentially it becomes a bit difficult to troubleshoot why your request fails if you cannot verify what are you actually sending, therefore the ability to preview the final request (with already parsed variables and so on) that will get sent before sending it would be massively helpful.

Why should this be worked on?

It would speed up efficiency and troubleshooting when things don't work as expected.

Originally created by @n-alonso on GitHub (Mar 31, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2218 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Summary I tried to find in the documentation if this was possible, plus checked the opened issues to see if it was already raised but I could not find, please forgive me if I missed it. Essentially it becomes a bit difficult to troubleshoot why your request fails if you cannot verify what are you actually sending, therefore the ability to preview the final request (with already parsed variables and so on) that will get sent before sending it would be massively helpful. ### Why should this be worked on? It would speed up efficiency and troubleshooting when things don't work as expected.
kerem 2026-03-16 17:03:47 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@liyasthomas commented on GitHub (Mar 31, 2022):

Hi @n-alonso, I'd like to know what you meant by "preview of final request". If you're referring to how the request would look like in any languages/frameworks like cURL, JavaScript Fetch, Axios, etc.. we have a feature in Hoppscotch which allows you to preview and generate the source code to make the final request.

Click on drop-down menu right next to "Send" > "Show code"

Screenshot 2022-03-31 at 2 40 40 PM Screenshot 2022-03-31 at 2 42 02 PM

Let me know if this resolves your request, if not we'd like to know more about your use case.

<!-- gh-comment-id:1084306053 --> @liyasthomas commented on GitHub (Mar 31, 2022): Hi @n-alonso, I'd like to know what you meant by "preview of final request". If you're referring to how the request would look like in any languages/frameworks like cURL, JavaScript Fetch, Axios, etc.. we have a feature in Hoppscotch which allows you to preview and generate the source code to make the final request. **Click on drop-down menu right next to "Send" > "Show code"** <img width="1440" alt="Screenshot 2022-03-31 at 2 40 40 PM" src="https://user-images.githubusercontent.com/10395817/161020213-1fb6bc41-804a-4e31-bfd0-c20eee733004.png"> <img width="1440" alt="Screenshot 2022-03-31 at 2 42 02 PM" src="https://user-images.githubusercontent.com/10395817/161020497-3ff7db31-d2ee-4001-acc0-f7e805b3ffab.png"> Let me know if this resolves your request, if not we'd like to know more about your use case.
Author
Owner

@n-alonso commented on GitHub (Mar 31, 2022):

Yes, that is exactly what I was looking for.
Sorry for raising an issue for this and thank you for the prompt response!
Feel free to close this.

<!-- gh-comment-id:1084308435 --> @n-alonso commented on GitHub (Mar 31, 2022): Yes, that is exactly what I was looking for. Sorry for raising an issue for this and thank you for the prompt response! Feel free to close this.
Author
Owner

@AndrewBastin commented on GitHub (Mar 31, 2022):

Adding to Liyas' remarks,

The only really dynamic thing that can be modified by internal processing is headers mostly through things like Authorization modes, we are working on showing the finally applicable headers so the users can better judge things.

<!-- gh-comment-id:1084310673 --> @AndrewBastin commented on GitHub (Mar 31, 2022): Adding to Liyas' remarks, The only really dynamic thing that can be modified by internal processing is headers mostly through things like Authorization modes, we are working on showing the finally applicable headers so the users can better judge things.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#760
No description provided.