Commit 04233905 authored by Kenil Mavani's avatar Kenil Mavani

Postman collections of CRUD

parent 4eaa07e3
{
"info": {
"_postman_id": "2cd009ce-0c2d-4fe5-9d4b-1db2c4a5418c",
"name": "Spring Webflux",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "19897002"
},
"item": [
{
"name": "Create Users",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"id\":2,\n \"name\":\"sahil\",\n \"age\":25,\n \"salary\":20000,\n \"department\":\"QA\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:9000/api/users",
"host": [
"localhost"
],
"port": "9000",
"path": [
"api",
"users"
]
}
},
"response": []
},
{
"name": "update user by id",
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"id\":1,\n \"name\":\"kenil\",\n \"age\":25,\n \"salary\":200000,\n \"department\":\"Development\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:9000/api/users/1",
"host": [
"localhost"
],
"port": "9000",
"path": [
"api",
"users",
"1"
]
}
},
"response": []
},
{
"name": "Delete user by id",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "localhost:9000/api/users/2",
"host": [
"localhost"
],
"port": "9000",
"path": [
"api",
"users",
"2"
]
}
},
"response": []
},
{
"name": "get all users",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "localhost:9000/api/users",
"host": [
"localhost"
],
"port": "9000",
"path": [
"api",
"users"
]
}
},
"response": []
},
{
"name": "get user by ID",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "localhost:9000/api/users/1",
"host": [
"localhost"
],
"port": "9000",
"path": [
"api",
"users",
"1"
]
}
},
"response": []
}
]
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment