mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 16:45:57 +03:00
[GH-ISSUE #745] Is it possible to write to the local file or sent get/post requests via Scripting? #742
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#742
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 @amorphius on GitHub (Dec 30, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/745
Originally assigned to: @NghiaTranUIT on GitHub.
I want to use Proxyman as middleman and pass some intercepted data to another application. So I need somehow to communicate with it. Either via local file or with simple http request. Is it possible?
@NghiaTranUIT commented on GitHub (Dec 30, 2020):
Maybe it's possible by using the Scripting tool 🤔
You can use JS to write to flow
onRequestoronResponseto a file (This feature has not implemented yet, it's just an idea)@NghiaTranUIT commented on GitHub (Dec 30, 2020):
You can checkout this ticket: #741 because it might be related
@amorphius commented on GitHub (Dec 30, 2020):
Yes, this seems related. And is it possible to make http request? Similar to
fetch@NghiaTranUIT commented on GitHub (Dec 30, 2020):
at the moment, it's not possible because the script runs synchronize, not async (Promise doesn't fully support). If you can make a
fetchworks synchronize, I suppose that it should work@NghiaTranUIT commented on GitHub (Dec 30, 2020):
Write to file is easier, so I can support it if you like 😄
@amorphius commented on GitHub (Dec 30, 2020):
That would be great 👍👍👍
@amorphius commented on GitHub (Dec 30, 2020):
BTW how can I use synchronous fetch? How to import it into my script?
@NghiaTranUIT commented on GitHub (Dec 30, 2020):
Good question. Since JavascriptCore from Apple doesn't have
fetchby default, we have to find some way to add it as an addon. I don't think that it's easy.I will support the "Write to file" and send you a beta
For a fetch, I will research and support it soon 👍
@NghiaTranUIT commented on GitHub (Dec 31, 2020):
@amorphius please check out this build at https://github.com/ProxymanApp/Proxyman/issues/741#issuecomment-752842805 👍
@amorphius commented on GitHub (Jan 1, 2021):
thanks!