step to reproduce:
- open Postman or any other REST client
do exactly like https://lichess.org/api#operation/challengeCreate :
[POST] https://lichess.org/api/challenge/{username}
(change {username} by the great value) - add header: "Content-Type": "application/x-www-form-urlencoded"
don't forget to add header "Authorization": "Bearer XXXYYYZZZ..." (api token with all privileges)
execute the POST request and you will see in json "destUser": null
step to reproduce:
- open Postman or any other REST client
do exactly like https://lichess.org/api#operation/challengeCreate :
[POST] https://lichess.org/api/challenge/{username}
(change {username} by the great value)
- add header: "Content-Type": "application/x-www-form-urlencoded"
don't forget to add header "Authorization": "Bearer XXXYYYZZZ..." (api token with all privileges)
execute the POST request and you will see in json "destUser": null