https://github.com/soul-master/webhttpproxy
Simplest ASP.NET application to proxy any income request
https://github.com/soul-master/webhttpproxy
Last synced: 10 months ago
JSON representation
Simplest ASP.NET application to proxy any income request
- Host: GitHub
- URL: https://github.com/soul-master/webhttpproxy
- Owner: Soul-Master
- Created: 2017-06-25T16:58:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-02-25T13:32:56.000Z (over 3 years ago)
- Last Synced: 2025-02-22T00:43:53.128Z (over 1 year ago)
- Language: C#
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebHTTPProxy
Simplest ASP.NET application to proxy any income request for IIS 7+ (integrated pipeline mode)
To make request to this url
https://bx.in.th/api/chart/price/?pairing=1&int=720&limit=360
You can simply request to this url instead
http://`yourdomain.com`/api/chart/price/?pairing=1&int=720&limit=360&domain=`https://bx.in.th`
This service should work for any HTTP methods because service create web request based on your HTTP request.
```cs
var webRequest = (HttpWebRequest)WebRequest.Create(domain + path);
webRequest.Method = context.Request.HttpMethod;
```