Skip to content

Instantly share code, notes, and snippets.

@przodownikR1
Created December 6, 2015 11:15
Show Gist options
  • Save przodownikR1/3d01c702c359896b3f4c to your computer and use it in GitHub Desktop.
Save przodownikR1/3d01c702c359896b3f4c to your computer and use it in GitHub Desktop.
curl -u user:9e6da1f6-35d6-4b0d-95d6-7c3df4a538f3 http://localhost:8080/simple/slawek 11:57
Hello : slawek⏎ przodownik ~/b/securityBasicCamp (default_form|✚1)$ curl -u user:9e6da1f6-35d6-4b0d-95d6-7c3df4a538f4 http://localhost:8080/simple/slawek 12:11
{"timestamp":1449400277841,"status":401,"error":"Unauthorized","message":"Bad credentials","path":"/simple/slawek"}⏎ przodownik ~/b/securityBasicCamp (default_form|✚1)$ curl -u user:9e6da1f6-35d6-4b0d-95d6-7c3df4a538f3 http://localhost:8080/simple/slawek 12:11
Hello : slawek⏎ przodownik ~/b/securityBasicCamp (default_form|✚1)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment