[v1.17.0] API cannot use _csrf token get information #20585
Labels
modifies/api
This PR adds API routes or modifies them
type/question
Issue needs no code to be fixed, only a description on how to fix it yourself.
Description
Show
The target couldn't be found.
ortoken is required
How use _csrf token to API get data?
API URL: /api/v1/repos/{username}/{reponame}/issues this API in mustEnableIssuesOrPulls function show
The target couldn't be found.
API URL: /api/v1/notifications this API show
token is required
Gitea Version
1.17.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
systemd
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: