How to accept external requests in API GraphQL

Labels: lifecycle/stale

Timeline

Gutierri Barboza (gutierri) opened

When I try make request from JS in GraphQL endpoint. Return the this response:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:4001/graphql. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.


Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:4001/graphql. (Reason: CORS request did not succeed). Status code: (null).

I believe that some configuration with CORS in the MUX is necessary to release external requests.

Gutierri Barboza (gutierri) changed the title from How to accept external requests in API GraphQL to How to accept external requests in API GraphQL

github-actions (github-actions) added label lifecycle/stale

github-actions (github-actions) commented

Pinging maintainers. This issue has been inactive for 90 days.
Issues will not be automatically closed due to inactivity.


Learn more

This bot triages issues in order to help the maintainers identify what needs attention, according to the following lifecycle rules:

  • After 90 days of inactivity, lifecycle/idle is applied
  • After 180 days of inactivity, lifecycle/dormant is applied

The following actions remove the inactive status:

  • Removing the lifecycle/* label from this issue
  • Commenting on this issue
  • Adding a new assignee to this issue
  • Reopening this issue
  • Adding this issue to a milestone
  • Pinning this issue to the top of the issue board

To avoid automatic lifecycle management of this issue, maintainers can add the lifecycle/pinned label.

github-actions (github-actions) added label lifecycle/idle

sudoforge removed label lifecycle/idle-auto

sudoforge removed label lifecycle/idle