Skip to content

Instantly share code, notes, and snippets.

@manicExpressive
Created July 10, 2015 18:32
Show Gist options
  • Save manicExpressive/2ca3e6077f5ef2ac442d to your computer and use it in GitHub Desktop.
Save manicExpressive/2ca3e6077f5ef2ac442d to your computer and use it in GitHub Desktop.
lando:web stickwithjosh$ http get http://threads.dev/api/v1/posts/7eb7ab9c-cb0f-4f9d-9abb-149738426010 'Authorization: Token token="se6hSf8gd1MWzYLxypJ8", email="[email protected]"'
HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Connection: close
Content-Type: application/json; charset=utf-8
Date: Fri, 10 Jul 2015 18:31:33 GMT
ETag: W/"a1c6f5911ebd3fd3a1ea5ba238aa6e67"
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Request-Id: c4f55aa4-ff54-4c6e-be79-2e37808901d5
X-Runtime: 0.178395
X-XSS-Protection: 1; mode=block
{
"post": {
"body": "Hamburger Salad – Skip the bun but keep the flavor with this deconstructed take on burgers – perfect for kids or feeding a crowd.",
"id": "7eb7ab9c-cb0f-4f9d-9abb-149738426010",
"owner": {
"authentication_token": "CSVxjvPfft3-VNAjfiaU",
"created_at": "2015-07-10T14:31:41.000+00:00",
"email": "[email protected]",
"facebook_token": null,
"first_name": "Susan",
"id": "1e70dd4e-9617-4fbc-9998-581250925c28",
"last_name": "Anthony",
"tos": null,
"updated_at": "2015-07-10T14:31:41.000+00:00"
},
"owner_id": "1e70dd4e-9617-4fbc-9998-581250925c28"
}
}
lando:web stickwithjosh$ http get http://threads.dev/api/v1/channels/4c2e916b-3492-433c-b576-a985fd2afc1d/posts 'Authorization: Token token="se6hSf8gd1MWzYLxypJ8", email="[email protected]"'
HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Connection: close
Content-Type: application/json; charset=utf-8
Date: Fri, 10 Jul 2015 18:31:40 GMT
ETag: W/"de521d6edea7c4498919e5d6a068774b"
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Request-Id: 0d657673-7ca4-4d2d-8900-da70397a5ad5
X-Runtime: 0.027776
X-XSS-Protection: 1; mode=block
[
{
"body": "Hamburger Salad – Skip the bun but keep the flavor with this deconstructed take on burgers – perfect for kids or feeding a crowd.",
"id": "7eb7ab9c-cb0f-4f9d-9abb-149738426010"
},
{
"body": "Beef Cubes With Roasted Carrots And Mushrooms – A no-fuss recipe demonstrating exactly why \"simple\" and \"boring\" are two very different words.",
"id": "6f837022-22c4-442f-9e37-078a011a5bd2"
},
{
"body": "Flank Steak With Blueberry Sauce – Give your steak some extra flavor with a savory pan sauce featuring fresh blueberries.",
"id": "f8dbe046-521d-4d5c-9748-4592f191c3af"
},
{
"body": "Should be an exciting game tonight. Hopefully the Cocks will be able to penetrate the beaver defense and squeak out a victory.\nHowever, if the Beavers Cock/shot blocking is on, they might put down any serious Cock threat. Here is to a safe game and no fertilization.",
"id": "97a2d632-a491-4bea-92f6-895deeb94143"
},
{
"body": "My wife and I are psyched! I think they‘re pretty good seats, but not under cover. Should be a great time. GO BEAVS! Beat the Utes!!",
"id": "9c371296-ba12-414d-ab50-ebb0c3558483"
},
{
"body": "Will be attending my first game at Reser--any inside info on what sections not to sit in? (Poor view, etc). Looks like lots of good seats in section 11 available",
"id": "1a99fd54-6faf-48b3-8a2d-0c209bfd4f0a"
}
]
lando:web stickwithjosh$ http get http://threads.dev/api/v1/channels/4c2e916b-3492-433c-b576-a985fd2afc1d 'Authorization: Token token="se6hSf8gd1MWzYLxypJ8", email="[email protected]"'
HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Connection: close
Content-Type: application/json; charset=utf-8
Date: Fri, 10 Jul 2015 18:32:03 GMT
ETag: W/"2c2bcccc462f88ef7e903a85d5089809"
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Request-Id: 59df75d4-a00f-44ad-8316-3ae4bf809829
X-Runtime: 0.077825
X-XSS-Protection: 1; mode=block
{
"channel": {
"description": "What are your very best Paleo recipes? No far cheating with sugar replacements other than honey",
"id": "4c2e916b-3492-433c-b576-a985fd2afc1d",
"member_ids": [
"1e70dd4e-9617-4fbc-9998-581250925c28",
"81944b16-10d2-4fd2-8374-13d37897df8d"
],
"members_can_post": true,
"name": "Paleo Recipes",
"owner_id": "88dcbfd7-f5df-4899-b01e-6e853fa61412",
"post_ids": [
"7eb7ab9c-cb0f-4f9d-9abb-149738426010",
"6f837022-22c4-442f-9e37-078a011a5bd2",
"f8dbe046-521d-4d5c-9748-4592f191c3af"
]
}
}
lando:web stickwithjosh$ http get http://threads.dev/api/v1/channels 'Authorization: Token token="se6hSf8gd1MWzYLxypJ8", email="[email protected]"'
HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Connection: close
Content-Type: application/json; charset=utf-8
Date: Fri, 10 Jul 2015 18:32:17 GMT
ETag: W/"07a2d4ed476384b32825d8b216e70002"
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Request-Id: e4241ebb-8493-42b9-816c-22b682a703a0
X-Runtime: 0.026064
X-XSS-Protection: 1; mode=block
[
{
"description": "What are your very best Paleo recipes? No far cheating with sugar replacements other than honey",
"id": "4c2e916b-3492-433c-b576-a985fd2afc1d",
"members_can_post": true,
"name": "Paleo Recipes"
},
{
"description": "Pictures of Adalina and Henry, feel free to add your own!",
"id": "0d4a1970-bf53-4880-9422-82541e95d9db",
"members_can_post": true,
"name": "Kid Pictures"
},
{
"description": "Let’s talk OSU! Go Beavers! Football, Professors, Admissions and Parties.",
"id": "be3fb3cc-ce13-49dc-adcb-b970193c66ec",
"members_can_post": true,
"name": "Beaver Banter"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment