cURL
curl --request POST \ --url http://dolphinflashcards.com/api/update-heatmap \ --header 'Content-Type: application/json' \ --data '{ "userID": "user1" }'
{ "date": "2" }
Updates the user’s heatmap data when their streak is modified.
OK. Returns an object that contains dates (formatted as dd/mm/yyyy) as keys and the corresponding streak counts as values.
dd/mm/yyyy
The response is of type object.
object