Skip to content

Instantly share code, notes, and snippets.

@gabfssilva
Created February 21, 2017 17:18
Show Gist options
  • Save gabfssilva/cb805890ac7368510e5b46f5c3ae3b20 to your computer and use it in GitHub Desktop.
Save gabfssilva/cb805890ac7368510e5b46f5c3ae3b20 to your computer and use it in GitHub Desktop.
===========================================================================
HTTP GET /frodo/api/products/58ac762ce051672d61af1648/events
[Header] Host -> 127.0.0.1:33324
===========================================================================
2017-02-21T14:17:36.968-0300 I NETWORK [initandlisten] connection accepted from 127.0.0.1:58794 #10 (10 connections now open)
[mongod output] 2017-02-21 17:17:36 [Thread-11] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:10, serverValue:10}] to localhost:27017
---------------------------------------------------------------------------
[Status] Status(200)
[Header] Content-Type -> application/json; charset=utf-8
[Header] Content-Length -> 626
{
"pageable" : {
"page" : 1,
"page_size" : 20,
"total_size" : 1
},
"events" : [
{
"id" : "58ac762ee051672d61af164b",
"event_type" : "offer",
"operation_id" : "58ac762ee051672d61af164a",
"product_id" : "58ac762ce051672d61af1648",
"date" : "2017-02-21T17:17:34.599+0000",
"description" : "O usuário @gabfssilva_operation_test fez uma oferta de R$2000.0 pelo IPhone 6s!",
"_links" : {
"self" : {
"href" : "/api/products/58ac762ce051672d61af1648/events/58ac762ee051672d61af164b"
},
"events" : {
"href" : "/api/products/58ac762ce051672d61af1648/events"
},
"product" : {
"href" : "/api/products/58ac762ce051672d61af1648"
},
"operation" : {
"href" : "/api/operations/58ac762ee051672d61af164a"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment