@@ -67,6 +67,27 @@ The application will automatically:
67673 . Insert sample data using the data.sql file (via Spring Boot's automatic data initialization)
68684 . Start the web server on port 8080
6969
70+ ### 4. Access Sample Requests
71+
72+ ### Get All Todos
73+
74+ ``` bash
75+ curl -X GET http://localhost:8080/api/todos
76+ ```
77+
78+ ### Create a Todo Item
79+
80+ ``` bash
81+ curl -X POST http://localhost:8080/api/todos \
82+ -H " Content-Type: application/json" \
83+ -d ' {
84+ "title": "Learn Oracle Database",
85+ "description": "Study Oracle-specific features and SQL syntax",
86+ "priority": 7,
87+ "dueDate": "2023-12-31T23:59:59"
88+ }'
89+ ```
90+
7091## API Endpoints
7192
7293| Method | URL | Description |
@@ -86,27 +107,6 @@ The application will automatically:
86107| GET | /api/todos/oracle-demo | Demonstrate Oracle-specific query features |
87108| POST | /api/todos/run-oracle-operations | Run Oracle-specific database operations |
88109
89- ## Sample Requests
90-
91- ### Create a Todo Item
92-
93- ``` bash
94- curl -X POST http://localhost:8080/api/todos \
95- -H " Content-Type: application/json" \
96- -d ' {
97- "title": "Learn Oracle Database",
98- "description": "Study Oracle-specific features and SQL syntax",
99- "priority": 7,
100- "dueDate": "2023-12-31T23:59:59"
101- }'
102- ```
103-
104- ### Get All Todos
105-
106- ``` bash
107- curl -X GET http://localhost:8080/api/todos
108- ```
109-
110110## Oracle-Specific Features
111111
112112This sample demonstrates several Oracle-specific features:
0 commit comments