mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-25 16:15:55 +03:00
[GH-ISSUE #1779] Unable to use fetch or XMLHttpRequest APIs? #1773
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#1773
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 @cHaLkdusT on GitHub (Sep 25, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1779
Description
I'm currently trying to write a script, depending on the response, I would like to fire an HTTP request. I tried writing the request using
fetchandXMLHttpRequest, however, I got an error:What is the correct way of firing an HTTP request using Proxyman scripting?
@NghiaTranUIT commented on GitHub (Sep 25, 2023):
@cHaLkdusT here is your snippet code: https://docs.proxyman.io/scripting/snippet-code#get-request-with-query
fetchandXMLHttpRequestare not available on JavascriptCore (developed by Apple). It's not NodeJS env.@cHaLkdusT commented on GitHub (Sep 25, 2023):
Excellent! Thanks for the swift response @NghiaTranUIT!