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

Request

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 operation across all 9 revisions of this API.