Skip to content

Is there any way to make HTTP requests? #344

@mrcsmcln

Description

@mrcsmcln

Title pretty much says it all. typeof XMLHttpRequest returns "undefined", as expected. I tried using axios, which works both client- and server-side for Node environments, but it depends on the http module, which is obviously unavailable.

Is there any way I can make HTTP requests or do I need to inject that functionality before executing JS? For example:

PHP:

$v8js->client = new \GuzzleHttp\Client();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions