Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
s0up4200 authored Feb 23, 2024
1 parent 37a4429 commit 61a95d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ Set it in the config, and use it as a header like:

```bash
curl -X POST \
-H "X-API-Token: s3cr3tt0k3n" \
-H "X-API-Token: 098qw0e98ass" \
-H "Content-Type: application/json" \
-d '{ "torrent_id": {{.TorrentID}}, "indexer": "{{ .Indexer | js }}"} \
http://127.0.0.1:42135/hook'
-d '{"torrent_id": 12345, "indexer": "ops", "uploaders": "the_worst_uploader,thebestuploader", "mode": "blacklist"}' \
http://127.0.0.1:42135/hook
```

### Payload
Expand Down

0 comments on commit 61a95d7

Please sign in to comment.