Русский
cURL
curl --request POST \ --url http://dev-backend-1.guestme.space/api/v1/external/restaurant/{id}/confirmation/code/request \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "phone": "+79998887766" }'
{ "timeLeft": 120 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Restaurant ID
OK
The response is of type object.
object