POST
/
edit-card-goal
curl --request POST \
  --url http://dolphinflashcards.com/api/edit-card-goal \
  --header 'Content-Type: application/json' \
  --data '{
  "userID": "123",
  "goalID": "goal1",
  "newEndDate": "30/07/2024",
  "newTitle": "title1",
  "newCardsToRevise": "4"
}'
{
  "success": "Goal updated successfully"
}

Body

application/json

Response

200
application/json
OK

The response is of type object.