Skip to content

This js library that allows you to make a GET call without getting Cross-Origin Request Blocked error

Notifications You must be signed in to change notification settings

AnupKumarPanwar/nocors.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

No CORS

A javascript libraray to bypass cross-origin request blocked error on GET Request

Getting Started

Include the script in your HTML file. <script src="nocors.js"></script>

OR

Use the RawGit CDN <script src="https://cdn.rawgit.com/AnupKumarPanwar/nocors.js/539baf4e/nocors.js"></script>

Usage

nocors(api_url, function(data){
	console.log(data);
})

Example

nocors('https://www.instagram.com/anupkumarpanwar/media', function(data){
	console.log(data);
})

Acknowledgments

  • cors-anywhere.herokuapp.com

About

This js library that allows you to make a GET call without getting Cross-Origin Request Blocked error

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published