user

Change the user's spoken language and learning language

once change the language, the jwt token will be updated, client side need to update the token

post/v2/change_my_lang

Headers

Authorizationstring required

With the bearer started

Request body

learn_languagestring required
speak_languagestring required

Response

success

codeinteger

0=success,only parse data when code=0

messagestring

tip message

Example response

{
  "message": "success"
}

Changes

No recorded changes to this endpoint across all 3 revisions of this API.