Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6f13cb0

Browse files
Update README.md
1 parent dfa4f1d commit 6f13cb0

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

‎README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,24 @@ curl -X GET "http://localhost:3000/event/find?date=2024年03月15日&latitude=40.7128&l
220220
"totalPages": 5
221221
}
222222
```
223-
224-
225-
226-
223+
### DELETE- /event/deleteAll
224+
Send a DELETE request to delete all the events from database.
225+
Curl bash command to send a DELETE request like this.
226+
```
227+
curl -X DELETE http://localhost:3000/event/deleteAll
228+
```
229+
##### Demo responce
230+
```
231+
{
232+
"acknowledged": true,
233+
"deletedCount": 200
234+
}
235+
```
236+
## Hosting
237+
I have hosted this service on Render.com
238+
<br/>
239+
##### Server base URL:
240+
```
241+
https://event-log-ingest-and-query-system.onrender.com
242+
```
243+
##### Replace http://localhost:3000 with this base url to use the hosting service

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /