Trying to use api with bearer token to upload file, but response with 403 forbidden.
Solved
General Discussion
-
I have generated an api token to admin user 1
And then I use windows subsystem linux 2 to upload file via curl
I have created the folder before sending post request
In admin panel, the api access page always tell me thatThis key has never been used.
And I cannot upload file successfully, which step I mistake? -
I try with this solution, but get
invalid-json
error.
NodeBB/src/controllers/admin/uploads.js at c3f02b74cc6e1401b4ee2734fbcf958ca9bf7df3 · NodeBB/NodeBB
Node.js based forum software built for the modern web - NodeBB/src/controllers/admin/uploads.js at c3f02b74cc6e1401b4ee2734fbcf958ca9bf7df3 · NodeBB/NodeBB
GitHub (github.com)
-
-
-
problem solved today, thank baris
Copyright © 2024 NodeBB | Contributors