@mythz here ya go. These were captured with Fiddler using Postman as the client.
Login Request
POST http://localhost:64499/auth/credentials HTTP/1.1
Host: localhost:64499
Connection: keep-alive
Content-Length: 77
Cache-Control: no-cache
Origin: chrome-extension://aicmkgpgakddgnaphhhpliifpcfhicfo
Content-Type: application/json
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36
Postman-Token: 45383aa8-373b-ed7d-48e7-be98895eeed3
Accept: */*
DNT: 1
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8
{
"username": "testuser@test.com",
"password": "password"
}
Login Response
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Vary: Accept
Server: Microsoft-IIS/8.0
X-Powered-By: ServiceStack/4.052 Win32NT/.NET
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
X-AspNet-Version: 4.0.30319
Set-Cookie: ss-id=gecCayZizxIwn8EWtASs; path=/; HttpOnly
Set-Cookie: ss-pid=reKfBPD9p3OJ4hLsQRzL; expires=Thu, 24-Jan-2036 14:15:59 GMT; path=/; HttpOnly
X-SourceFiles: =?UTF-8?B?QzpcVXNlcnNcbG9jYWxBZG1pblxEb2N1bWVudHNcUHJvamVjdHNcU3luYXBzZU1YXHN5bmFwc2VteC1hcGktZG90bmV0XHN5bmFwc2VteC1hcGktZG90bmV0XHN5bmFwc2VteF9hcGlfZG90bmV0XGF1dGhcY3JlZGVudGlhbHM=?=
X-Powered-By: ASP.NET
Date: Sun, 24 Jan 2016 14:15:59 GMT
Content-Length: 135
{
"subscriptionValid":true,
"userId":"1",
"sessionId":"gecCayZizxIwn8EWtASs",
"userName":"testuser@test.com",
"responseStatus":{}
}
Protected Endpoint Request
GET http://localhost:64499/Aircraft HTTP/1.1
Host: localhost:64499
Connection: keep-alive
Accept: application/json
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36
Postman-Token: 866a012b-6775-7298-e9c6-b69ad27c8b84
DNT: 1
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8
Cookie: ss-id=gecCayZizxIwn8EWtASs; ss-pid=reKfBPD9p3OJ4hLsQRzL
Protected Endpoint Response
HTTP/1.1 401 Unauthorized
Cache-Control: private
Vary: Accept
Server: Microsoft-IIS/8.0
WWW-Authenticate: credentials realm="/auth/credentials"
X-Powered-By: ServiceStack/4.052 Win32NT/.NET
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
X-AspNet-Version: 4.0.30319
X-SourceFiles: =?UTF-8?B?QzpcVXNlcnNcbG9jYWxBZG1pblxEb2N1bWVudHNcUHJvamVjdHNcU3luYXBzZU1YXHN5bmFwc2VteC1hcGktZG90bmV0XHN5bmFwc2VteC1hcGktZG90bmV0XHN5bmFwc2VteF9hcGlfZG90bmV0XEFpcmNyYWZ0?=
X-Powered-By: ASP.NET
Date: Sun, 24 Jan 2016 14:22:38 GMT
Content-Length: 0