When using the REST Client in cursor, the prompt is: Expected the `options.agent` properties to be `http`, `https` or `http2`, got `_events`
- REST Client Version: v0.26.0
- Cursor Version: 0.42.3
- OS Version: macos 14.3.1
when click "Send Request":
I have the same problem.
+1
+1
+1
+1
I'm not sure why, but it seems to be a proxy issue. You can resolve it by opening .vscode/settings.json and configuring it as follows:
"rest-client.excludeHostsForProxy": [
"localhost",
"127.0.0.1"
]
@Yooling-lei good, it works!
@Yooling-lei good!!!
I have remove proxy support and rebuild rest-client extension for vscode or cursor and reinstall locally, the problem is gone