proxy-cors
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published
PROXY-CORS logo

proxy-cors

Simple proxy to bypass CORS


This server is running on https://gmpetrov-proxy-cors.glitch.me

Why

Because i can't bear this 💩 message anymore "Access to XMLHttpRequest at X from origin Y has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource."

Usage

const payload = {
    productId: 42
}

anyHttpClient.post('https://gmpetrov-proxy-cors.glitch.me/https://my.api', payload)

Readme

Keywords

none

Package Sidebar

Install

npm i proxy-cors

Weekly Downloads

1

Version

0.1.2

License

none

Unpacked Size

80.4 kB

Total Files

10

Last publish

Collaborators

  • gmpetrov