Skip to content

Commit 81ff490

Browse files
Update README.md
1 parent 8d8f430 commit 81ff490

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ CREATE TABLE users (
5454
name VARCHAR(50) NOT NULL,
5555
email VARCHAR(50) NOT NULL
5656
);
57-
57+
```
5858
## Setup Instructions
5959

6060
### **1. AWS Infrastructure**
@@ -98,7 +98,7 @@ Content-Type: application/json
9898
"name": "Rabia",
9999
"email": "rabia@example.com"
100100
}
101-
101+
```
102102
**Create User (POST /users)**
103103
```http
104104
POST https://<invoke-url>/users
@@ -107,19 +107,28 @@ Body:
107107
"name": "Rabia",
108108
"email": "rabia@example.com"
109109
}
110+
```
110111
**Get All Users (GET /users)**
111-
**GET https://<invoke-url>/users**
112+
```http
113+
GET https://<invoke-url>/users
114+
```
112115
**Get User by ID (GET /users/1)**
113-
**GET https://<invoke-url>/users/1**
116+
```http
117+
GET https://<invoke-url>/users/1
118+
```
114119
**Update User (PUT /users/1)**
115-
**PUT https://<invoke-url>/users/1**
120+
```http
121+
PUT https://<invoke-url>/users/1
116122
Body:
117123
{
118124
"name": "Rabia Updated",
119125
"email": "rabia.new@example.com"
120126
}
127+
```
121128
**Delete User (DELETE /users/1)**
129+
```http
122130
DELETE https://<invoke-url>/users/1
131+
```
123132
---
124133
### Testing & Logging
125134
Use Postman or curl to test each endpoint.

0 commit comments

Comments
 (0)