POST
/
edit-xp-goal
curl --request POST \
  --url http://dolphinflashcards.com/api/edit-xp-goal \
  --header 'Content-Type: application/json' \
  --data '{
  "userID": "user123",
  "goalID": "goal1",
  "newEndDate": "15/07/2024",
  "newTitle": "title1",
  "newGoalXP": "40"
}'
{
  "success": "Goal updated successfully"
}

Body

application/json

Response

200
application/json
OK.

The response is of type object.