From 1ef37f1f3fa3f99b378a4f12ae985b97f0acfb37 Mon Sep 17 00:00:00 2001 From: Syed Asif <sasif@nisum.com> Date: Fri, 29 Dec 2023 15:29:49 +0530 Subject: [PATCH] collection added --- README.md | 120 ++++++++++++++++++++++++++++++++ profile.postman_collection.json | 104 +++++++++++++++++++++++++++ 2 files changed, 224 insertions(+) create mode 100644 profile.postman_collection.json diff --git a/README.md b/README.md index b1aef56..9b1a572 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,123 @@ + + +{ + "info": { + "_postman_id": "4bdefb85-1e14-4ca8-bfca-f4b64685f6fd", + "name": "profile", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "http://localhost:9091/profile", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"firstName\": \"India\",\r\n \"lastName\": \"Nisum\",\r\n \"dateOfBirth\": \"11-12-1995\",\r\n \"permanentAccountNumber\": \"SBAPA1239A\",\r\n \"adharNumber\": \"295456789123\",\r\n \"mobileNumber\": \"9223456789\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://localhost:9091/profile", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "9091", + "path": [ + "profile" + ] + } + }, + "response": [] + }, + { + "name": "http://localhost:9091/profile", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://localhost:9091/profile", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "9091", + "path": [ + "profile" + ] + } + }, + "response": [] + }, + { + "name": "http://localhost:9091/profile", + "request": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"profileId\": \"658dd9e42ed4836c0cf70b84\",\r\n \"firstName\": \"India\",\r\n \"lastName\": \"Nisum\",\r\n \"dateOfBirth\": \"11-21-1997\",\r\n \"permanentAccountNumber\": \"ABAPA1235A\",\r\n \"adharNumber\": \"123456789123\",\r\n \"mobileNumber\": \"9223456789\",\r\n \"status\": \"ACTIVE\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://localhost:9091/profile", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "9091", + "path": [ + "profile" + ] + } + }, + "response": [] + }, + { + "name": "http://localhost:9091/profile/658dd9c62ed4836c0cf70b83", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "http://localhost:9091/profile/658dd9c62ed4836c0cf70b83", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "9091", + "path": [ + "profile", + "658dd9c62ed4836c0cf70b83" + ] + } + }, + "response": [] + } + ] +} + + + + + + + + + + + + + + ### Java Spring template project This project is based on a GitLab [Project Template](https://docs.gitlab.com/ee/gitlab-basics/create-project.html). diff --git a/profile.postman_collection.json b/profile.postman_collection.json new file mode 100644 index 0000000..09ec8e6 --- /dev/null +++ b/profile.postman_collection.json @@ -0,0 +1,104 @@ +{ + "info": { + "_postman_id": "4bdefb85-1e14-4ca8-bfca-f4b64685f6fd", + "name": "profile", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "http://localhost:9091/profile", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"firstName\": \"India\",\r\n \"lastName\": \"Nisum\",\r\n \"dateOfBirth\": \"11-12-1995\",\r\n \"permanentAccountNumber\": \"SBAPA1239A\",\r\n \"adharNumber\": \"295456789123\",\r\n \"mobileNumber\": \"9223456789\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://localhost:9091/profile", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "9091", + "path": [ + "profile" + ] + } + }, + "response": [] + }, + { + "name": "http://localhost:9091/profile", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://localhost:9091/profile", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "9091", + "path": [ + "profile" + ] + } + }, + "response": [] + }, + { + "name": "http://localhost:9091/profile", + "request": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"profileId\": \"658dd9e42ed4836c0cf70b84\",\r\n \"firstName\": \"India\",\r\n \"lastName\": \"Nisum\",\r\n \"dateOfBirth\": \"11-21-1997\",\r\n \"permanentAccountNumber\": \"ABAPA1235A\",\r\n \"adharNumber\": \"123456789123\",\r\n \"mobileNumber\": \"9223456789\",\r\n \"status\": \"ACTIVE\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://localhost:9091/profile", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "9091", + "path": [ + "profile" + ] + } + }, + "response": [] + }, + { + "name": "http://localhost:9091/profile/658dd9c62ed4836c0cf70b83", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "http://localhost:9091/profile/658dd9c62ed4836c0cf70b83", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "9091", + "path": [ + "profile", + "658dd9c62ed4836c0cf70b83" + ] + } + }, + "response": [] + } + ] +} \ No newline at end of file -- 2.18.1