nodebb-plugin-write-api
nodebb-plugin-write-api copied to clipboard
Token generation api responses time out
nodebb-plugin-write-api version 5.2.3 nodebb-plugin-write-api-brfenergi version 5.4.0 nodebb version 1.11.2 test :
POST http://localhost:4567/api/v2/users/1/tokens
Content-Type: application/json
{
"password": "my password"
}
error:
org.apache.http.NoHttpResponseException: localhost:4567 failed to respond
Server side didn't show any error logs.
Can you try without the brfenergi variant of the plugin? I don't think you can run both plugins at the same time.
Can you try without the brfenergi variant of the plugin? I don't think you can run both plugins at the same time.
Thanks, it works. By the way,is there anyway to generate token by sending user name or email, I am developing an app for NodeBB. Login by uid is not a good idea.
Are there any built in read api documentation?
@CoderYellow
Are there any built in read api documentation?
At present, no, although we will be fleshing out some read API documentation in the coming months.
The token generation route is mostly for utility purposes, can you share with me how you are using the Write API with user generated tokens?