I have successfully setted up syncthing on windows 11 and working fine. I try to add it to my Hompage dashboard got api error.
when i try to access the url “http://127.0.0.1:8384/rest/svc/report” it shows CSRF Error
API Error: HTTP Error
URL: http://127.0.0.1:8384/rest/svc/report
yaml config
- Syncthing:
icon: mdi-sync
widget:
type: customapi
method: GET
url: http://127.0.0.1:8384/rest/svc/report
headers:
X-API-Key: myapikey
mappings:
- field: totMiB
label: Stored (MB)
format: number
- field: numFolders
label: Folders
format: number
- field: totFiles
label: Files
format: number
- field: numDevices
label: Devices
format: number
i have disabled auth also.