Skip to content

Commit

Permalink
Update url and Bearer token in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
liowalter committed Sep 7, 2024
1 parent 69896d0 commit 8495eff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

This project was done as part of the GLAMHack24, the Swiss Open Cultural Data Hackathon. See the [project description](https://hack.glam.opendata.ch/project/211).

## Load data with curl
## Load csv data with curl

Sample data is in the `data` folder

To load it, you can use http://localhost:8000/api/docs or with curl in the `data` folder
To load it, you can use https://photo.histify.app/api/docs or with curl in the `data` folder
```
curl -X 'POST' \
'http://localhost:8000/api/import' \
'https://photo.histify.app/api/import' \
-H 'accept: application/json' \
-H 'Authorization: Bearer dataimporttoken' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXX' \
-H 'Content-Type: multipart/form-data' \
-F 'file=@bibzug_glasplatten_adapted.csv;type=text/csv'
```
Expand Down

0 comments on commit 8495eff

Please sign in to comment.