Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: fetch/xmlhttprequest/http request OR run a local executable file #96

Closed
raymond-ong opened this issue May 18, 2021 · 2 comments

Comments

@raymond-ong
Copy link

raymond-ong commented May 18, 2021

Hello,

Just trying my luck.

I want to send an HTTP request.
Is this feature supported?
Apparently not when I tried "fetch" and "XMLHttpRequest".
It seems like a browser-implemented feature.

Is there any workaround similar to the suggested for ClearScript?
https://stackoverflow.com/questions/53810084/referenceerrorxmlhttprequest-is-not-defined-while-using-clearscriptv8scripteng


The other option for me is to let JavaScript.net run a local executable file.
Is this possible? Due to security risks, it may not be possible though.

Thank you!

@raymond-ong raymond-ong changed the title Question: fetch/xmlhttprequest/http request Question: fetch/xmlhttprequest/http request OR run a local executable file May 18, 2021
@oliverbock
Copy link
Contributor

No. JavaScript.Net is a JavaScript engine, not a browser. If you want to write methods in C# to implement XMLHttpRequest then you can.

@raymond-ong
Copy link
Author

OK thank you @oliverbock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants