Note App
  1. Notes
Note App
  • Users
    • Signup
      POST
    • signin
      POST
    • signout
      POST
  • Notes
    • Add Note
      POST
    • Update Note
      PUT
    • Get All Note
      GET
    • Delete Note
      DELETE
  1. Notes

Add Note

POST
http://{{sever_notes}}/addnote

Request

Body Params application/json
title
string 
required
description
string 
required
Example
{
    "title":"first Note",
    "description":"first note added"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://{{sever_notes}}/addnote' \
--header 'Content-Type: application/json' \
--data-raw '{
    "title":"first Note",
    "description":"first note added"
}'

Responses

🟢200Success
application/json
Body
object {0}
Examples
{
    "data": {
        "data": {
            "title": "first Note",
            "description": "first note added",
            "createdBy": "test1",
            "_id": "6784e39685260f900e739b04",
            "createdAt": "2025-01-13T09:57:42.763Z",
            "updatedAt": "2025-01-13T09:57:42.763Z",
            "__v": 0
        }
    },
    "msg": "Note Added Successully",
    "statuscode": 201,
    "success": true
}
Modified at 2025-01-13 10:23:53
Previous
signout
Next
Update Note
Built with