Create new note with rest api


how to create new note with rest api?

URL:- http://locahost:8000/api/resource/Note
Method:- POST
Query Params:- {data={“title”:“testing”}}

Response:- Server error

how to create new todo with rest api?

URL:- http://locahost:8000/api/resource/ToDo
Method:- POST
Body:- “description”:“testing”

Response:- [“exc_type”: CSRFTokenError, “_server_messages”: [“{"message": "Invalid Request", "indicator": "red"}”]]


hii did you solve the error

Hi. Did you solve this error?