My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

REST API, there's some way to block it from browser access?

Rafael Zomer Antunes's photo
Rafael Zomer Antunes
·May 6, 2016

Hello, i've a web system and a i need block the access of my url's by browser, for exemple:

if user tries to access example.com/test, he'll receive a error message. but, if a javascript file tries to access the same url by ajax the js will receive a content message (like hello world for example).