To list notes:
curl "https://YOUR-INVOKE-URL/dev/notes"

Reading one note:
curl "https://YOUR-INVOKE-URL/dev/notes/NOTE_ID"

Get JWT token:
curl -X POST "https://YOUR-INVOKE-URL/dev/login"

Testing protected route:
curl -X POST "https://YOUR-INVOKE-URL/dev/notes" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -d '{"title":"First note","content":"Hello from EE547"}'

Testing update:
curl -X PUT "https://YOUR-INVOKE-URL/dev/notes/NOTE_ID" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -d '{"title":"Updated note","content":"Updated text"}'


Testing delete:
curl -X DELETE "https://YOUR-INVOKE-URL/dev/notes/NOTE_ID" \
  -H "Authorization: Bearer YOUR_TOKEN"