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 f1bb038

Browse files
Update README.md
1 parent ff184e3 commit f1bb038

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ npm run start
4242
#### Now server will run on localhost:3000. Make sure your system is not running other application on port 3000
4343

4444
## API Endpoints
45-
### POST /upload/
45+
### POST- /upload/
4646
Send a POST request to http://localhost:3000/upload with a 'multipart/form-data' payload containing a field named csvFile that holds the CSV file <br/>
4747
Assuming you have a CSV file named data.csv, you can use curl bash command to send a POST request like this.
4848
```
@@ -55,7 +55,7 @@ Replace data.csv with your CSV file name
5555
"result": "200 events inserted into database...."
5656
}
5757
```
58-
### GET/event/find?date=YYYY-MM-DD&latitude=value&longitude=value
58+
### GET- /event/find?date=YYYY-MM-DD&latitude=value&longitude=<value>
5959
Send a GET request to fetch events data sorted by the earliest event after the specified date, with a page size of 10. Each event includes event name, city, date, weather, and the distance from the user's location <br/>
6060
Curl bash command to send a GET request like this.
6161
```

0 commit comments

Comments
(0)

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