Public API Reference
Public API details and usage examples for the Members Portal
Posts a new comment on a published blog post on behalf of the authenticated customer.
cURL
curl --request POST \ --url https://spaces.nexudus.com/api/public/blogPosts/{postId}/comments \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "comment": "<string>" } '
Id
GET /api/public/blogPosts
200 OK
POST /api/public/blogPosts/55/comments Authorization: Bearer {token} Content-Type: application/json { "comment": "Great article, very helpful tips!" }
HTTP/1.1 200 OK
import endpoints from '@/api/endpoints' await httpClient.post(endpoints.blog.newComment(55), { comment: 'Great article, very helpful tips!', })