Skip to content

About

cors-anywhere proxy server written in Go

Resources

Stars

7 stars

Watchers

2 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

cors-anywhere in Go

A cors-anywhere proxy written in Go which can be used from CLI or as a library and mounted in your servers directly.

Inspired by https://github.com/Redocly/cors-anywhere

Usage

$ go run github.com/goware/corsanywhere@latest -h

Usage (another way, install then use)

Install:

$ go install github.com/goware/corsanywhere@latest
$ corsanywhere -port=8080

You can now send CORS-enabled requests to http://localhost:8080/.

For example, say you have a CORS-enabled API at https://api.mydomain.com/accounts, you can send the same request, but put http://localhost:8080/ in front of the url, so you'd make a request to: http://localhost:8080/https://api.mydomain.com/accounts

LICENSE

MIT

About

cors-anywhere proxy server written in Go

Resources

Stars

7 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages