4.2 The REST-API
c.
Check the response of the request.
4.
An example line for curl is provided for testing purposes:
curl -X 'GET' \
'http://10.22.26.106:8201/v1/preset?format=complete' \
-H 'accept: application/json' \
-
H
'Authorization:
Bearer
eyJh-
bGciOiJIUzI1NiIsInR5cCI6Ik-
pXVCJ9.eyJzdWIiOiJyb290IiwiZXhwIjoxNjc1MzY3Mjk1fQ.RGDFVCnbG-
ltHa9PfiAqLZXpaw5R_wPtOWe8R6DYZhQ'
CHAPTER
•
4
WR-Z16 User Manual Rev. v5.0
35