Skip to content

Instantly share code, notes, and snippets.

@bobsourced
bobsourced / Bob_Manifesto.md
Created August 4, 2019 12:54 — forked from arbal/Bob_Manifesto.md
Bob Manifesto

Bob Manifesto

  1. Use existing human knowledge (e.g. open source software). The wheel has been invented already. We are on the shoulders of giants.

  2. Be a giant for others. Share your solutions.

  3. Embrace helpful paradigms, such as functional programming and its pure functions and immutable objects. They will discourage complexity and silence those who question if you are web-scale.

  4. Use hashes and cryptographic signatures routinely. Data may be corrupted or tampered with at any time.

@bobsourced
bobsourced / 001 - \authmanagement - request.http
Created January 16, 2019 06:26
Transaction to http://localhost:3030/authmanagement
POST /authmanagement HTTP/1.1
Host: localhost:3030
Pragma: no-cache
Accept: application/json
Cache-Control: no-cache, no-store, must-revalidate
Origin: http://localhost:4200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Content-Type: application/json; charset=UTF-8
Referer: http://localhost:4200/
Accept-Encoding: gzip, deflate, br
GET /v3/nfl/pbp/JSON/PlayByPlay/2018REG/7/MIA HTTP/1.1
Ocp-Apim-Subscription-Key: 87c8a002a9a44b368f710748fe884574
Host: api.fantasydata.net
Connection: close
User-Agent: Paw/3.1.7 (Macintosh; OS X/10.14.0) GCDHTTPRequest
:method: GET
:authority: bleacher.test-api.reactorone.net
:scheme: https
:path: /api/1/users/principal
cache-control: no-cache
pragma: no-cache
origin: https://bleacher.test-admin.reactorone.net
authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJkZXZAYmxlYWNoZXJsZWFndWUuY29tIiwiYXV0aCI6IlJPTEVfU1lTVEVNQURNSU4iLCJleHAiOjE1NDAyNDE1OTZ9.5xZqzihzPiSewXapg0OuyiJet7K3hB8HLiNkbek81OMgz-FxTzFiQ6eeUXVv4jQRc84ex6Pwmg8Qle9KsPs39w
accept: application/json, text/plain, */*
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36
:method: POST
:authority: bleacher.test-api.reactorone.net
:scheme: https
:path: /api/1/dms/users
content-length: 77
accept: application/json, text/plain, */*
origin: https://bleacher.test-admin.reactorone.net
authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJkZXZAYmxlYWNoZXJsZWFndWUuY29tIiwiYXV0aCI6IlJPTEVfU1lTVEVNQURNSU4iLCJleHAiOjE1NDAyNDE1OTZ9.5xZqzihzPiSewXapg0OuyiJet7K3hB8HLiNkbek81OMgz-FxTzFiQ6eeUXVv4jQRc84ex6Pwmg8Qle9KsPs39w
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36
content-type: application/json;charset=UTF-8
:method: POST
:authority: bleacher.test-api.reactorone.net
:scheme: https
:path: /api/1/collections/get/items
content-length: 25
accept: application/json, text/plain, */*
origin: https://bleacher.test-admin.reactorone.net
authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJkZXZAYmxlYWNoZXJsZWFndWUuY29tIiwiYXV0aCI6IlJPTEVfU1lTVEVNQURNSU4iLCJleHAiOjE1NDAyMzQwMzB9.Fic5gtgy64-C6lc6XPbhq6mdB8M1XJPTgK4YBJQdcDLKRfDU92K3HGBRydMT5vTDlqFUOXbZkY04YlhFiDXekw
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36
content-type: application/json;charset=UTF-8
:method: POST
:authority: bleacher.test-api.reactorone.net
:scheme: https
:path: /jwt/authenticate
content-length: 61
accept: application/json, text/plain, */*
origin: https://bleacher.test-admin.reactorone.net
authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJkZXZAYmxlYWNoZXJsZWFndWUuY29tIiwiYXV0aCI6IlJPTEVfU1lTVEVNQURNSU4iLCJleHAiOjE1NDAyMjgxMzZ9.qJ2_BAqPJ6ZaWccryP4PhkKGdyZFbDYjLlm5t7N7wmE_Fw1MdtC5g1hhyamDntHjSaPsL9lp7NC8l-4q8Ba8rg
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36
content-type: application/json;charset=UTF-8
:method: POST
:authority: bleacher.test-preview.reactorone.net
:scheme: https
:path: /api/1/users/register
content-length: 193
accept: application/json, text/javascript, */*; q=0.01
origin: https://bleacher.test-preview.reactorone.net
x-requested-with: XMLHttpRequest
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36
content-type: application/json
:method: GET
:authority: bleacher.test-api.reactorone.net
:scheme: https
:path: /api/1/collections
cache-control: no-cache
pragma: no-cache
origin: https://bleacher.test-admin.reactorone.net
authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJkZXZAYmxlYWNoZXJsZWFndWUuY29tIiwiYXV0aCI6IlJPTEVfU1lTVEVNQURNSU4iLCJleHAiOjE1NDAyMjY2Mjh9.K08fBIKh-dpv6MJQ7TLhFFPSfFXOii5u5I58AHZFJckZhw_o94vvgyyw1__vAPCt_rHdMdXHM_WsngCcz7-sXQ
accept: application/json, text/plain, */*
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36