Initial commit
This commit is contained in:
56
requests.rest
Normal file
56
requests.rest
Normal file
@@ -0,0 +1,56 @@
|
||||
GET localhost:8080/things
|
||||
Accept: application/json
|
||||
|
||||
###
|
||||
POST localhost:8080/things?type=THING&name=thing3
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
###
|
||||
GET localhost:8080/things/thing3
|
||||
Accept: application/json
|
||||
|
||||
###
|
||||
DELETE localhost:8080/things/thing1
|
||||
|
||||
###
|
||||
POST localhost:8080/things/thing3?type=INPUT&name=input1
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
###
|
||||
POST localhost:8080/things/thing3?type=INPUT&name=input2
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
###
|
||||
GET localhost:8080/things/thing3/input2
|
||||
Accept: application/json
|
||||
|
||||
###
|
||||
DELETE localhost:8080/things/thing3/input2
|
||||
|
||||
###
|
||||
POST localhost:8080/things/thing3?type=OUTPUT&name=output1
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
###
|
||||
POST localhost:8080/things/thing3?type=OUTPUT&name=output2
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
###
|
||||
GET localhost:8080/things/thing3/output2
|
||||
Accept: application/json
|
||||
|
||||
###
|
||||
PUT localhost:8080/things/thing3/output2
|
||||
Content-Type: application/json
|
||||
|
||||
###
|
||||
GET localhost:8080/things/thing3/output2
|
||||
Accept: application/json
|
||||
|
||||
###
|
||||
DELETE localhost:8080/things/thing3/output2
|
||||
Reference in New Issue
Block a user