ProxymanApp / ProxymanApp/Proxyman

Unable to use `fetch` or `XMLHttpRequest` APIs?

Open
#1,779 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

✅ Done question
Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

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 fetch and XMLHttpRequest, however, I got an error:

  • Error: ReferenceError: Can't find variable: fetch
  • Error: ReferenceError: Can't find variable: XMLHttpRequest

What is the correct way of firing an HTTP request using Proxyman scripting?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files or tests. Start by locating Proxyman's scripting documentation or the scripting HTTP-request entry point, then determine whether fetch or XMLHttpRequest is supported and document the correct request method and its expected result.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.