37 lines
751 B
Plaintext
37 lines
751 B
Plaintext
# "C:\Program Files\hurl\hurl.exe" basic.hurl
|
|
|
|
###
|
|
|
|
GET https://dashkiosk.phares.duckdns.org/api/display
|
|
Accept: application/json
|
|
HTTP 200
|
|
[Asserts]
|
|
header "Content-Type" == "application/json; charset=utf-8"
|
|
|
|
###
|
|
|
|
GET https://dashkiosk.phares.duckdns.org/api/group
|
|
Accept: application/json
|
|
HTTP 200
|
|
[Asserts]
|
|
header "Content-Type" == "application/json; charset=utf-8"
|
|
|
|
###
|
|
|
|
PUT https://dashkiosk.phares.duckdns.org/api/display/5NRH58/group/2
|
|
Accept: application/json
|
|
HTTP 200
|
|
[Asserts]
|
|
header "Content-Type" == "application/json; charset=utf-8"
|
|
|
|
###
|
|
|
|
PUT https://dashkiosk.phares.duckdns.org/api/display/5NRH58/group/1
|
|
Accept: application/json
|
|
HTTP 200
|
|
[Asserts]
|
|
header "Content-Type" == "application/json; charset=utf-8"
|
|
jsonpath "$.group" == 1
|
|
|
|
###
|