Advertisement
GregLeblanc

Create logbook Test2

Oct 20th, 2021
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. [leblanc@cas-web-lp001 resources]$ curl -u leblanc:edwards -H 'Content-Type: application/json' -XPUT 'http://localhost:8080/Olog/logbooks/Test2' -d '
  2. > {
  3. > "name": "Test2",
  4. > "owner": "olog-logs",
  5. > "state": "Active"
  6. > }
  7. > '
  8. {"name":"Test2","owner":"olog-logs","state":"Active"}[leblanc@cas-web-lp001 resources]$ curl -XGET http://localhost:8080/Olog/logbooks/Test2
  9. {"name":"Test2","owner":"olog-logs","state":"Active"}[leblanc@cas-web-lp001 resources]$ curl -XGET http://localhost:8080/Olog/logbooks
  10. {"timestamp":1634741409448,"status":500,"error":"Internal Server Error","message":"Failed to find logbooks","path":"/Olog/logbooks"}[leblanc@cas-web-lp001 resources]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement