language

Set user's language preference.

This stores the preference in:

  1. Session (for authenticated users)
  2. Cookie (for all users)
post/api/v1/language/set

Request

  • Base URL: https://qcode.cc (the document declares no server; this is the origin it was published from)
  • URL: https://qcode.cc/api/v1/language/set
  • Auth: none declared

Request body

languagestring required

Response

Successful Response

successboolean required
languagestring required
messagestring nullable

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status