Skip to content

Commit

Permalink
readme: update example import requests. fixes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
joschrew committed Aug 2, 2022
1 parent d6abd82 commit 5791873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Therefore, authentication is needed to access it.
```
curl -X POST \
http://your.domain.com/bag \
-H 'Authorization: <your-credential>' \
-u <user:password> \
-H 'content-type: multipart/form-data' \
-F file=@<path-to-file>
```
Expand All @@ -108,7 +108,7 @@ To import a new version, in addition to the `.zip` file, a PID of a previous wor
```
curl -X POST \
http://your.domain.com/bag \
-H 'Authorization: <your-credential>' \
-u <user:password> \
-H 'content-type: multipart/form-data' \
-F file=@<path-to-file>
-F prev=<PID-previous-version>
Expand Down

0 comments on commit 5791873

Please sign in to comment.