Retail Documentation
  1. Blog
Retail Documentation
  • Events
    • Register For Events
      POST
  • NewsLetters
    • Get All Subcribers
      GET
    • Add New Subcribers
      POST
    • Send Mails To Subscribers
      POST
  • Stores
    • Get All Stores
      GET
    • Update Store
      PUT
    • Delete Store
      DELETE
    • Get Specific Store
      GET
    • Search Store
      POST
    • Add A New Store
      POST
  • Gives / Dontation
    • Get All Gives
      GET
    • Add A Give
      POST
  • Payment Gateway
    • Make Payment
      POST
  • Blog
    • Get All Blogs
      GET
    • Update Blog
      PUT
    • Get A Specific Blog
      GET
    • Delete Blog
      DELETE
    • Create New Blog
      POST
  • Admin
    • Admin Login
      POST
    • Admin Signup
      POST
    • Logout
      GET
  • Communities
    • Join Our Comunities
      POST
    • List of Users In Our Communities
      GET
  • Praise Report Form
    • Insert New Praise Form
    • Get All Praise Report Form
  • Welcome Section
    GET
  • Contact Us
    POST
  1. Blog

Create New Blog

POST
/blog

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params multipart/form-data

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/blog' \
--header 'Authorization: Bearer <token>' \
--form 'title="New One"' \
--form 'body="dkafjdalk fdjlka fkldajfjdkl afa"' \
--form 'author="Abdullah"' \
--form 'image=@""'
Response Response Example
{
    "msg": "BLOG_CREATED_SUCCESSFULLY",
    "status": true,
    "message": {
        "title": "One Title",
        "photo": "https://myfirstfirebase-c3bc4.appspot.com.storage.googleapis.com/1658383765716.PNG",
        "body": "dkafjdalk fdjlka fkldajfjdkl afa",
        "_id": "62d8ed9877671adac4466d06",
        "createdAt": "2022-07-21T06:09:28.667Z",
        "slug": "one-title",
        "__v": 0
    }
}
Modified at 2026-03-12 11:22:01
Previous
Delete Blog
Next
Admin Login
Built with