This is my cURL
curl --location --request DELETE 'https://forumapp.findding.in/api/v3/posts/1/vote'
--header 'Authorization: Bearer MY_ BEARER_TOKEN'
--header 'Content-Type: application/json'
--data '{
"_uid": 13,
"delta": -1,
"_csrf": "MY_CSRF"
}'
This above api is responding Forbidden
curl --location 'https://forumapp.findding.in/api/admin/upload/file'
--header 'Authorization: Bearer TOKEN'
--form 'files=@"clouds.jpg"'
--form '_uid="0"'
This upload api responding as below
{
"path": "/api/admin/upload/file",
"error": "[[error:api.master-token-no-uid]]",
"bodyClass": "page-admin page-admin-upload page-admin-file page-status-500 theme-persona user-guest"
}