Last active
December 15, 2015 01:59
-
-
Save joshlong/5183827 to your computer and use it in GitHub Desktop.
rest shell 4
This file contains hidden or 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
| http://localhost:8080/api//users:> headers set --name Accept --value application/json | |
| { | |
| "Accept" : "application/json" | |
| } | |
| http://localhost:8080/api//users:> get /users/72 | |
| > GET http://localhost:8080/api//users/72 | |
| > Accept: application/json | |
| < 200 OK | |
| < Server: Apache-Coyote/1.1 | |
| < Content-Type: application/json | |
| < Transfer-Encoding: chunked | |
| < Date: Sat, 16 Mar 2013 00:31:28 GMT | |
| < | |
| { | |
| "id" : 72, | |
| "customers" : null, | |
| "importedFromServiceProvider" : false, | |
| "firstName" : "Jane", | |
| "lastName" : "Smith", | |
| "username" : "user@user.com", | |
| "password" : "password", | |
| "profilePhotoImported" : true, | |
| "profilePhotoExt" : null, | |
| "enabled" : true, | |
| "signupDate" : 1363129646993 | |
| } | |
| http://localhost:8080/api//users:> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment