blogs
create a blog post by a superadmin
post/blogs
Request body
Example request
{
"title": "New Blog Post",
"content": "This is the content of the new blog post",
"category": "Tech",
"image_url": "http://image.com"
}Response
Blog post created successfully
Example response
{
"status": "success",
"status_code": 201,
"message": "Blog post created successfully.",
"data": {
"title": "New Blog Post",
"content": "This is the content of the new blog post",
"image_url": "http://image.com",
"category": "Tech"
}
}