Skip to content

Instantly share code, notes, and snippets.

@stephanpavlovic
Created May 29, 2013 15:00
Show Gist options
  • Save stephanpavlovic/5670950 to your computer and use it in GitHub Desktop.
Save stephanpavlovic/5670950 to your computer and use it in GitHub Desktop.
0:0:0:0:0:0:0:1%0 - - 29/05/2013:16:58:40 +0200 "POST /splink_sgdb/api/users/login HTTP/1.1" 200 1384
POST /splink_sgdb/api/users/login HTTP/1.1
X-Splinkuser: 0
Host: localhost:8080
Accept: application/json
Content-Length: 53
Content-Type: application/json
X-Splinkapp: 1087e5f7b5d74875a747f3a58813492e
Connection: close
User-Agent: Splink SGDB API client
{"email":"stephan@railslove.com","password":"123456"}
HTTP/1.1 200 OK
Connection: close
Content-Type: application/json; charset=UTF-8
{
"result_count": 1,
"result": {
"id": "d03b4755f77949f88e9c0a6b74c5c18f",
"registered": true,
"agreed_to_terms": true,
"created_at": "2013-05-29T12:04:18+0200",
"modified_at": "2013-05-29T16:58:40+0200",
"confirmed_at": "2013-05-29T12:06:16+0200",
"confirmation_token": null,
"confirmation_sent_at": "2013-05-29T12:04:18+0200",
"reset_password_token": null,
"current_session_id": "KCZ4hRpfNuUdQVHKQ9M7VIanExTrbXfFM_DimYvw5mPTdU9Mn-7PD1S-dgX90AkpO1dg7yp939Cz7xUJJ2TwxL1x-qmyh1DCr54R3SNNpk0KWieFqr5bs-8C5OLqYXDrsKCVoxudNeMeuyEL1W4dhDG_osG3rxlP7wt7mdW5rps",
"name": "Stephan Pavlovic",
"current_session_at": "2013-05-29T16:58:40+0200",
"email": "stephan@railslove.com",
"nick_name": "Stephan.P",
"about_me": null,
"gender": "else",
"facebook": null,
"twitter": null,
"picture": null,
"splink_action_check_in_count": 0,
"year_of_birth": null,
"handicap": "",
"agility_level": 0,
"coordination_level": 0,
"endurance_level": 0,
"strength_level": 0,
"level_sum": 0,
"city": "Köln",
"complaint_count": 0,
"follow_count": 0,
"type": "User",
"created_from": "1087e5f7b5d74875a747f3a58813492e",
"created_by": "",
"modified_from": "1087e5f7b5d74875a747f3a58813492e",
"modified_by": null,
"version": 10
},
"serialization_time": "0.001776000"
}
0:0:0:0:0:0:0:1%0 - - 29/05/2013:16:58:40 +0200 "GET /splink_sgdb/api/user/d03b4755f77949f88e9c0a6b74c5c18f HTTP/1.1" 200 690
GET /splink_sgdb/api/user/d03b4755f77949f88e9c0a6b74c5c18f HTTP/1.1
X-Splinkuser:
Host: localhost:8080
Accept: */*
Content-Type: application/json
X-Splinkapp: 1087e5f7b5d74875a747f3a58813492e
Connection: close
User-Agent: Faraday v0.8.7
Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
HTTP/1.1 200 OK
Vary: Accept-Encoding, User-Agent
Content-Encoding: gzip
Connection: close
Content-Type: application/json; charset=utf-8
{
"query_time": "0.003212032",
"result_count": 1,
"result": {
"registered": true,
"agreed_to_terms": true,
"created_at": "2013-05-29T12:04:18+0200",
"modified_at": "2013-05-29T16:58:40+0200",
"confirmed_at": "2013-05-29T12:06:16+0200",
"confirmation_token": null,
"confirmation_sent_at": "2013-05-29T12:04:18+0200",
"reset_password_token": null,
"current_session_id": "KCZ4hRpfNuUdQVHKQ9M7VIanExTrbXfFM_DimYvw5mPTdU9Mn-7PD1S-dgX90AkpO1dg7yp939Cz7xUJJ2TwxL1x-qmyh1DCr54R3SNNpk0KWieFqr5bs-8C5OLqYXDrsKCVoxudNeMeuyEL1W4dhDG_osG3rxlP7wt7mdW5rps",
"name": "Stephan Pavlovic",
"current_session_at": "2013-05-29T16:58:40+0200",
"email": "stephan@railslove.com",
"nick_name": "Stephan.P",
"about_me": null,
"gender": "else",
"facebook": null,
"twitter": null,
"picture": null,
"splink_action_check_in_count": 0,
"year_of_birth": null,
"handicap": "",
"agility_level": 0,
"coordination_level": 0,
"endurance_level": 0,
"strength_level": 0,
"level_sum": 0,
"city": "Köln",
"complaint_count": 0,
"follow_count": 0,
"id": "d03b4755f77949f88e9c0a6b74c5c18f",
"type": "User",
"created_from": "1087e5f7b5d74875a747f3a58813492e",
"created_by": "",
"modified_from": "1087e5f7b5d74875a747f3a58813492e",
"modified_by": null,
"version": 10
},
"serialization_time": "0.006104000"
}
0:0:0:0:0:0:0:1%0 - - 29/05/2013:16:58:40 +0200 "GET /splink_sgdb/api/users/d03b4755f77949f88e9c0a6b74c5c18f HTTP/1.1" 200 690
GET /splink_sgdb/api/users/d03b4755f77949f88e9c0a6b74c5c18f HTTP/1.1
X-Splinkuser: 0
Host: localhost:8080
Accept: application/json
Content-Type: application/json
X-Splinkapp: 1087e5f7b5d74875a747f3a58813492e
Connection: close
User-Agent: Splink SGDB API client
Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
HTTP/1.1 200 OK
Vary: Accept-Encoding, User-Agent
Content-Encoding: gzip
Connection: close
Content-Type: application/json; charset=utf-8
{
"query_time": "0.003525120",
"result_count": 1,
"result": {
"registered": true,
"agreed_to_terms": true,
"created_at": "2013-05-29T12:04:18+0200",
"modified_at": "2013-05-29T16:58:40+0200",
"confirmed_at": "2013-05-29T12:06:16+0200",
"confirmation_token": null,
"confirmation_sent_at": "2013-05-29T12:04:18+0200",
"reset_password_token": null,
"current_session_id": "KCZ4hRpfNuUdQVHKQ9M7VIanExTrbXfFM_DimYvw5mPTdU9Mn-7PD1S-dgX90AkpO1dg7yp939Cz7xUJJ2TwxL1x-qmyh1DCr54R3SNNpk0KWieFqr5bs-8C5OLqYXDrsKCVoxudNeMeuyEL1W4dhDG_osG3rxlP7wt7mdW5rps",
"name": "Stephan Pavlovic",
"current_session_at": "2013-05-29T16:58:40+0200",
"email": "stephan@railslove.com",
"nick_name": "Stephan.P",
"about_me": null,
"gender": "else",
"facebook": null,
"twitter": null,
"picture": null,
"splink_action_check_in_count": 0,
"year_of_birth": null,
"handicap": "",
"agility_level": 0,
"coordination_level": 0,
"endurance_level": 0,
"strength_level": 0,
"level_sum": 0,
"city": "Köln",
"complaint_count": 0,
"follow_count": 0,
"id": "d03b4755f77949f88e9c0a6b74c5c18f",
"type": "User",
"created_from": "1087e5f7b5d74875a747f3a58813492e",
"created_by": "",
"modified_from": "1087e5f7b5d74875a747f3a58813492e",
"modified_by": null,
"version": 10
},
"serialization_time": "0.002846000"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment