dingo / dingo/api

custom request header with options does not response

Open
#1,405 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
9.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

about automatically options problem if xhr has custom header:
OPTIONS /api/lineprocess HTTP/1.1
Access-Control-Request-Headers: token

but response doesn't Real execution with:
Access-Control-Allow-Headers:Referer,Origin,Content-Type,api_key,token,Authorization,X-Requested-With

Need to explicitly specify: $api->options(...)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.