mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 09:16:03 +03:00
[GH-ISSUE #2218] [feature]: Preview final REST request before sending #760
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#760
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
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.
@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"
Let me know if this resolves your request, if not we'd like to know more about your use case.
@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.
@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.