Origin - more than NO-CORS Proxy Server

How to?

// simple fetch request, just add your website just after https://origin.dan13.me/
fetch('https://origin.dan13.me/https://example.com/')
// or by navigating to /fetch?url=URL
fetch('https://origin.dan13.me/fetch?url=https://example.com/')
// you can fetch data based on specific response, just add query param ?response=PARAM
fetch('https://origin.dan13.me/https://example.com/?response=PARAM')
// all your GET params will remain, so you can use
fetch('https://origin.dan13.me/https://dummyjson.com/comments?limit=2')
// you can also send methods (GET, POST, PUT, DELETE, PATCH, HEAD) and body params
fetch('https://origin.dan13.me/https://dummyjson.com/comments/add', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
body: 'Hello World',
userId: 3,
postId: 5
})
})
// you can also provide your custom proxy
fetch('https://origin.dan13.me/https://dummyjson.com/comments/1', {
method: 'PUT',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
body: Updated comment,
// just add proxy param to body
proxy: 'HOST:IP',
// or specify proxy type (by default HTTP)
proxy: 'HOST:IP:TYPE',
})
})
// or use default proxy server by adding ?anon=1 query param, random proxy from https://free-proxy-list.net/, these proxies are not fast and secure, be careful
fetch('https://origin.dan13.me/https://ifconfig.me/?anon=1')

Response Params:

  • content - get website content, replaced links, assets, base url with correct ones (default)
  • raw - get website raw content
  • status - website status code. e.g. 200, 404, 500
  • headers - website headers
  • response - website headers, status, statusText and data (content)
  • data - website content (as JSON response)
  • links - get all website links
  • rawLinks - get all website links (as on the site, without adding additional https://..)
  • contentWithoutBaseTag - get website raw content without adding base html tag to head
  • lists - get all ul li list items
  • meta - get all website meta tags content
  • headings - get all website heading (h1, h2, h3, h4, h5, h6)
  • images - get all website images
  • styles - get all website styles (links, and style html contents)
  • scripts - get all website scripts (scripts links and html contents)
Created by DanRotaru, please, use it only for your personal needs, not for commercial!