How to make API calls from react frontend to Frappe backend

Inside postman, if I make get/post request at :http://localhost:8080/api/resource/Expense Record
It works as guest, I want to have admin privileges. How do I do that from postman?

Most likely you did not provide the Authorization header. More info in this guide:

https://frappeframework.com/docs/user/en/api/rest

1 Like