Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

br/api-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ApiProxy

Proxy for API requests for ability to record/reply http calls via testing tool like vcr

in Gemfile:

gem 'api-proxy', 
    git: 'https://github.com/br/api-proxy.git'
    #path: '../api-proxy'

Configure:

ApiProxy.forwarding_origin = 'http://gatekeeper.1bleacherreport.com'

With this configuration, all requests to /api_proxy will be forwarded to http://gatekeeper.1bleacherreport.com

About

Rack middleware to redirect legacy domains

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%