Response when getting the language locale identifier from the device.
This response can have the following status codes:
200
500
501
Success response (200) - English locale:
{ status_code: 200, result: 'en'} Copy
{ status_code: 200, result: 'en'}
Success response (200) - Indonesian locale:
{ status_code: 200, result: 'id'} Copy
{ status_code: 200, result: 'id'}
Internal server error response (500):
{ status_code: 500, error: 'Internal server error'} Copy
{ status_code: 500, error: 'Internal server error'}
Not implemented response (501) - outside Grab app:
{ status_code: 501, error: 'Not implemented: This method requires the Grab app environment'} Copy
{ status_code: 501, error: 'Not implemented: This method requires the Grab app environment'}
Response when getting the language locale identifier from the device.