update challenge doc - for #455

pull/472/head
Thibault Duplessis 2015-05-05 14:28:21 +02:00
parent 0559c5ae54
commit ce73d8bf29
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ Now you're waiting for someone to accept the seek. The response will come as a s
## Challenge someone
```sh
http --form POST en.l.org/setup/friend variant=1 clock=false time=60 increment=60 color=random 'Accept:application/vnd.lichess.v1+json'
http --form POST en.l.org/setup/friend?user=usernameOrId variant=1 clock=false time=60 increment=60 color=random 'Accept:application/vnd.lichess.v1+json'
```
- color: white | black | random
- variant: 1 (standard) | 2 (chess960) | 3 (from position) | 4 (KotH) | 5 (three-check)