Skip to content

Add CORS header to response #37

Open
@klues

Description

@klues

since the purpose of this script is to bypass CORS check, the response should contain CORS headers.

I've tried the script on my php server and requests from javascript didn't succeed because of missing CORS headers. After adding

header("Access-Control-Allow-Origin: *");

to the php file, everything works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions