cURL
curl --request POST \ --url https://app.d-sports.org/api/user/toggle-star \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "starReceiverId": "<string>" } '
Clerk session token. Use Authorization: Bearer .
Toggle result
Was this page helpful?