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)

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.21latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.21
0.1.10
0.1.00

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