mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #5503] [feature]: The add directory feature also supports both pre-and post-execution scripts, which run alongside the scripts in the directory when the REST API is executed. #2116
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#2116
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 @zhaoqiang1024 on GitHub (Oct 23, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5503
Is there an existing issue for this?
Summary
The add directory feature also supports both pre-and post-execution scripts, which run alongside the scripts in the directory when the REST API is executed.
Why should this be worked on?
For example, Postman's directory feature allows adding execution scripts to the directory. However, since some of our services require centralized encryption authentication, scripts can currently only be added to REST APIs. I need to copy the script to each REST API, which is redundant.
@tnmyk commented on GitHub (Oct 25, 2025):
Happy to work on this, please assign it to me!Occupied with some other stuff. Sorry!@shedrackhabila159-svg commented on GitHub (Oct 25, 2025):
Good
@zhaoqiang1024 commented on GitHub (Jan 21, 2026):
@liyasthomas Is this feature supported by the plan?