balena-io-experimental / browser

A drop-in web browser block
98 stars 75 forks source link

POST to set /kiosk/{value} #122

Open Jonny-Johnson opened 2 years ago

Jonny-Johnson commented 2 years ago

I noticed that PUT doesn't work for /kiosk/{value} as per the curl error below. POST works fine.

mint@mint:~$ curl -X PUT http://x.x.x.x:5011/kiosk/0
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot PUT /kiosk/0</pre>
</body>
</html>
ghost commented 2 years ago

Your landr site preview has been successfully deployed to https://landr-jonny-johnson-repo-browser-preview-122.netlify.app

Deployed with Landr 9.4.16