@bernard_auth<EOL>async def postback_me(msg: BaseMessage, platform: Platform) -> Response:
async def get_basic_info(_msg: BaseMessage, _platform: Platform):<EOL><INDENT>user = _msg.get_user()<EOL>return {<EOL>'<STR_LIT>': await user.get_friendly_name(),<EOL>'<STR_LIT>': await user.get_locale(),<EOL>'<STR_LIT>': _platform.NAME,<EOL>}<EOL><DEDENT>func = MiddlewareManager.instance().get('<STR_LIT>', get_basic_info)<EOL>return json_response(await func(msg, platform))<EOL>
Provides the front-end with details about the user. This output can be
completed using the `api_postback_me` middleware hook.