44 lines
1.6 KiB
Bash
44 lines
1.6 KiB
Bash
curl -X GET --location "http://localhost:8080/things" \
|
|
-H "Accept: application/json"
|
|
|
|
curl -X POST --location "http://localhost:8080/things?type=THING&name=thing3" \
|
|
-H "Accept: application/json" \
|
|
-H "Content-Type: application/json"
|
|
|
|
curl -X GET --location "http://localhost:8080/things/thing3" \
|
|
-H "Accept: application/json"
|
|
|
|
curl -X DELETE --location "http://localhost:8080/things/thing1"
|
|
|
|
curl -X POST --location "http://localhost:8080/things/thing3?type=INPUT&name=input1" \
|
|
-H "Accept: application/json" \
|
|
-H "Content-Type: application/json"
|
|
|
|
curl -X POST --location "http://localhost:8080/things/thing3?type=INPUT&name=input2" \
|
|
-H "Accept: application/json" \
|
|
-H "Content-Type: application/json"
|
|
|
|
curl -X GET --location "http://localhost:8080/things/thing3/input2" \
|
|
-H "Accept: application/json"
|
|
|
|
curl -X DELETE --location "http://localhost:8080/things/thing3/input2"
|
|
|
|
curl -X POST --location "http://localhost:8080/things/thing3?type=OUTPUT&name=output1" \
|
|
-H "Accept: application/json" \
|
|
-H "Content-Type: application/json"
|
|
|
|
curl -X POST --location "http://localhost:8080/things/thing3?type=OUTPUT&name=output2" \
|
|
-H "Accept: application/json" \
|
|
-H "Content-Type: application/json"
|
|
|
|
curl -X GET --location "http://localhost:8080/things/thing3/output2" \
|
|
-H "Accept: application/json"
|
|
|
|
curl -X PUT --location "http://localhost:8080/things/thing3/output2" \
|
|
-H "Content-Type: application/json"
|
|
|
|
curl -X GET --location "http://localhost:8080/things/thing3/output2" \
|
|
-H "Accept: application/json"
|
|
|
|
curl -X DELETE --location "http://localhost:8080/things/thing3/output2"
|