Last active
April 20, 2016 19:21
-
-
Save agritsik/4ab213cd0a584e2220351efe0b1cdd32 to your computer and use it in GitHub Desktop.
How to check REST API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# returns response body and headers | |
curl -i http://localhost:8080/app/resources/countries | |
# returns response body and headers in verbose mode, useful for debugging | |
curl -v http://localhost:8080/app/resources/countries | |
# returns response body and headers | |
wget -qSO - http://localhost:8080/app/resources/countries |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment