Public
Documentation Settings

BlackBox Puzzle API

puzzle15

Folder for puzzle15

GETPuzzle 15

http://handsonlab.workroomprds.com:8001/puzzle15
Example Request
curl
curl --location 'http://handsonlab.workroomprds.com:8001/puzzle15'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

puzzle29

Folder for puzzle29

GETPuzzle 29

http://handsonlab.workroomprds.com:8001/puzzle29?button1=up&button2=up&button3=up&button4=up
HEADERS
Content-Type

application/json

PARAMS
button1

up

button2

up

button3

up

button4

up

Example Request
curl
curl --location 'http://handsonlab.workroomprds.com:8001/puzzle29?button1=up&button2=up&button3=up&button4=up' \
--header 'Content-Type: application/json'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

GETPuzzle 29 without data

http://handsonlab.workroomprds.com:8001/puzzle29?button1=up&button2=up&button3=up&button4=up
HEADERS
Content-Type

application/json

PARAMS
button1

up

button2

up

button3

up

button4

up

Example Request
curl
curl --location 'http://handsonlab.workroomprds.com:8001/puzzle29' \
--header 'Content-Type: application/json'
200 OK
Example Response
html
<h3>Input</h3>Puzzle29 expects four parameters; button1 through button4. Each can take the value 'up' or 'down'.
<h3>Problems</h3>Property button1 is missing.
<BR>Property button2 is missing. 
<BR>Property button3 is missing. 
<BR>Property button4 is missing. 
<BR>
<H3>Output
</h3>Puzzle29 returns light1 through light4. Each can be 'on' or 'off'
X-Powered-By

Express

Content-Type

text/html; charset=utf-8

Content-Length

341

ETag

W/"155-jx+BmdsbhBGdZUvy3aAzhm+xjKE"

Date

Wed, 31 Oct 2018 22:25:12 GMT

Connection

keep-alive

puzzle31

Folder for puzzle31