This repository has been archived on 2024-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
SDi-Servlet/requests.rest
github-classroom[bot] 0e8d7b5d31
Initial commit
2023-11-15 07:02:37 +00:00

57 lines
1.1 KiB
ReStructuredText

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