Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify how to test the timeld API using curl #107

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update api.md
  • Loading branch information
michielbdejong committed Feb 17, 2023
commit d795da4dc24e7ef695666ebd2547950fc53db411
1 change: 1 addition & 0 deletions doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ To try this with curl, you can:
timeld config
# from there, note your user and auth.key
export CREDENTIALS=user:auth.key
# replace "org1/pr1" with e.g. "fedb/fedt" and "org1/ts1" with e.g. "fedb/from-ponder-source-testing" (FIXME: where to find these?)
curl -X POST --data-binary @./example.ndjson -u $CREDENTIALS -H 'Content-Type: appon/x-ndjson' https://timeld.org/api/import
```

Expand Down