Skip to content

Okirshen/proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Proxy

A simple general proxy/url shortener made for Deno deploy and Airtable

API

add a site:

curl -X POST <hosted-url>
  -H "Content-Type: application/json"
  -H "Authorization: Bearer {token}"
  -d '{"url": "<origin-url>"}'

# curl -X POST https://example-proxy.deno.dev
#  -H "Content-Type: application/json"
#  -H "Authorization: Bearer exampleToken"
#  -d '{"url": "https://google.com"}'

redirect:

curl -X GET <hosted-url>/<id>

# curl -X GET https://example-proxy.deno.dev/nxA9nl7V

Enviorment Variables

variable description
key Key to the Airtable api
base ID of the Airtable database
token Secret token used for auth

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors