Via the cloud based Nuki Web API.
or by connecting the Smart Lock via MQTT to a local server (Raspberry, Home Assistant) and having a server running there to which you send the HTTP request. The Smart Lock itself does not have an HTTP(S) server running.