2021-10-01 06:30:09 +00:00
|
|
|
# Imgage Proxy Server
|
|
|
|
|
|
|
|
```json
|
2021-11-11 15:09:03 +00:00
|
|
|
{
|
|
|
|
"ur"l : "https://img-proxy.vercel.app"
|
|
|
|
}
|
2021-10-01 06:30:09 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Proxify any image url, hide it and use anywhere.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
**GET** https://img-proxy.vercel.app/fetch/image
|
|
|
|
|
|
|
|
Parameters(?) :-
|
|
|
|
*key* -> base64encode(image_url)
|
|
|
|
|
|
|
|
Example :-
|
|
|
|
original_url = https://cdn.pixabay.com/photo/2015/04/23/22/00/tree-736885_960_720.jpg
|
|
|
|
proxified_url = https://img-proxy.vercel.app/fetch/image?key=aHR0cHM6Ly9jZG4ucGl4YWJheS5jb20vcGhvdG8vMjAxNS8wNC8yMy8yMi8wMC90cmVlLTczNjg4NV85NjBfNzIwLmpwZw==
|
|
|
|
|
2021-10-01 07:19:23 +00:00
|
|
|
|
2021-11-11 15:09:03 +00:00
|
|
|
**GET** https://img-proxy.vercel.app/generate/proxyURL
|
2021-10-01 07:19:23 +00:00
|
|
|
|
|
|
|
Parameters(?) :-
|
|
|
|
*url* -> image_url
|
|
|
|
|
|
|
|
Example :-
|
2021-11-11 15:09:03 +00:00
|
|
|
request_url = https://img-proxy.vercel.app/generate/proxyURL?url=https://cdn.pixabay.com/photo/2015/04/23/22/00/tree-736885_960_720.jpg
|
2021-10-01 07:19:23 +00:00
|
|
|
response (json) = https://img-proxy.vercel.app/fetch/image?key=aHR0cHM6Ly9jZG4ucGl4YWJheS5jb20vcGhvdG8vMjAxNS8wNC8yMy8yMi8wMC90cmVlLTczNjg4NV85NjBfNzIwLmpwZw==
|
|
|
|
|
2021-11-11 15:09:03 +00:00
|
|
|
## Serverless API
|