Is 2025 the year of API-first development and democratization? Take our annual survey and tell us how you implement APIs across your org.
Explore common security challenges that data engineering teams face. Leverage that to build secure data pipelines with Apache Airflow.
Stats
Reputation: | 1697 |
Pageviews: | 584.8K |
Articles: | 25 |
Comments: | 5 |
Comments
Apr 17, 2020 · Lawrence Ebringer
Thanks Mukesh!
Apr 17, 2020 · Lawrence Ebringer
Thanks Tugce!
Feb 20, 2020 · Lawrence Ebringer
Jun 14, 2017 · Derric Gilling
Yes, you can install it at: https://chrome.google.com/webstore/detail/apirequestio-ajax-capture/aeojbjinmmhjenohjehcidmappiodhjm
Feb 19, 2017 · Derric Gilling
Can the API be called by browser web apps via AJAX, or only native devices?
If you call your API via cross origin AJAX requests, you can easily check the Origin Request Header if it matches your domain as part of CORS and ensure you set the appropiate Access-Control-Allow-Origin header, which is what we do at Moesif.
https://www.moesif.com/blog/technical/cors/Authoritative-Guide-to-CORS-Cross-Origin-Resource-Sharing-for-REST-APIs/
This is also helpful:
https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)
I didn't fully understand this question "s there need to exclude those endpoints from CSRF protection even those REST endpoints are called from JavaScript?"
What is you thinking of a reason to exclude REST endpoints from CSRF?