Example section for showcasing API endpoints
This section provides documentation for the NexWrite API.
The NexWrite API allows you to programmatically access and manage blog posts, user accounts, authentication, and settings. This section outlines how to authenticate and start using the available endpoints.
All API endpoints require Bearer token authentication. After signing in, the server returns a JWT token which must be included in the Authorization
header for any protected request.
Send a POST request to:
With the following body:
The server will respond with a token:
Use this token in the Authorization
header:
You can now access protected endpoints such as /api/posts
, /api/users
, /api/settings
, etc.
The token is automatically stored and used in the frontend after login.
Example section for showcasing API endpoints
This section provides documentation for the NexWrite API.
The NexWrite API allows you to programmatically access and manage blog posts, user accounts, authentication, and settings. This section outlines how to authenticate and start using the available endpoints.
All API endpoints require Bearer token authentication. After signing in, the server returns a JWT token which must be included in the Authorization
header for any protected request.
Send a POST request to:
With the following body:
The server will respond with a token:
Use this token in the Authorization
header:
You can now access protected endpoints such as /api/posts
, /api/users
, /api/settings
, etc.
The token is automatically stored and used in the frontend after login.