Skip to content

Instantly share code, notes, and snippets.

@marshallswain
Last active May 5, 2020 05:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marshallswain/b775c7b6d7a9b2429b0eb6fe669a2bfd to your computer and use it in GitHub Desktop.
Save marshallswain/b775c7b6d7a9b2429b0eb6fe669a2bfd to your computer and use it in GitHub Desktop.
Feathers Client request headers using Socket.io, Express and Primus
{
"accept": "application/json, text/javascript, */*; q=0.01",
"accept-encoding": "gzip, deflate, br",
"accept-language": "en-US,en;q=0.8,cy;q=0.6",
"authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6ImFjY2VzcyJ9.eyJ1c2VySWQiOiI0akZ4SEtQWXRpcnVwMkROIiwiaWF0IjoxNDkxNTM3ODExLCJleHAiOjE0OTE2MjQyMTEsImF1ZCI6Imh0dHBzOi8veW91cmRvbWFpbi5jb20iLCJpc3MiOiJmZWF0aGVycyIsInN1YiI6ImFub255bW91cyJ9.zOqO6bUgQrsMy7JIea6eoDCrMUqnIj2qKE8CPFOvhsQ",
"cache-control": "no-cache",
"connection": "keep-alive",
"content-length": "31",
"content-type": "application/json",
"host": "localhost:3030",
"origin": "http://localhost:8080",
"pragma": "no-cache",
"referer": "http://localhost:8080/",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"
}
{
"accept-encoding": "gzip, deflate, sdch, br",
"accept-language ": "en-US,en;q=0.8,cy;q=0.6",
"cache-control": "no-cache",
"connection": "Upgrade",
"cookie": "feathers-jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6ImFjY2VzcyJ9.,eyJ1c2VySWQiOiI0akZ4SEtQWXRpcnVwMkROIiwiaWF0IjoxNDkxNTM3ODExLCJleHAiOjE0OTE2MjQyMTEsImF1ZCI6Imh0dHBzOi8veW91cmRvbWFpbi5jb20iLCJpc3MiOiJmZWF0aGVycyIsInN1YiI6ImFub255bW91cyJ9.zOqO6bUgQrsMy7JIea6eoDCrMUqnIj2qKE8CPFOvhsQ",
"host": "localhost:3030",
"origin": "http://localhost:8080",
"pragma": "no-cache",
"sec-websocket-extensions": "permessage-deflate; client_max_window_bits",
"sec-websocket-key": "/FOOMHWnI1KElDTcArEeGg==",
"sec-websocket-version": "13",
"upgrade": "websocket",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) ,Chrome/57.0.2987.133 Safari/537.36"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment