Skip to content

Instantly share code, notes, and snippets.

@joshlong
Last active December 15, 2015 01:59
Show Gist options
  • Select an option

  • Save joshlong/5183825 to your computer and use it in GitHub Desktop.

Select an option

Save joshlong/5183825 to your computer and use it in GitHub Desktop.
rest shell 3
http://localhost:8080/api//users:> get /users/72 --output output-for-72.txt
>> output-for-72.txt
http://localhost:8080/api//users:> ! cat output-for-72.txt
command is:cat output-for-72.txt
> GET http://localhost:8080/api//users/72
< 200 OK
< Server: Apache-Coyote/1.1
< Content-Type: application/xml
< Transfer-Encoding: chunked
< Date: Sat, 16 Mar 2013 00:26:58 GMT
<
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><user username="user@user.com" signupDate="2013-03-12T16:07:26.993-07:00" profilePhotoImported="true" password="password" lastName="Smith" importedFromServiceProvider="false" id="72" firstName="Jane" enabled="true"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment