Skip to content

joeyy-watts/SimpleHTTPForwarder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple HTTP Forwarder

This server is used to forward requests to different devices in its local network based on MAC address.

The configuration, mac_address.conf should be populated with the following:

<target mac address>:<alias>
AA0000000000:device1
AA0000000001:device2

To send a request to be forwarded, simply send a request to this server.

The request should have a header X-Forward-To containing the target device alias.

Example

curl -XGET localhost:8080/api/myapi -H "X-Forward-To: device1"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages