Example Accept header: Accept: text/html,application/xhtml+xml, / application/xml;q=0.9,image/webp,*/*;q=0.8 Server will endeavour to return one of these content types • The "q" value is preference (default is 1) @lornajane
header • Tokens are ace! • Basic/Digest auth is Authorization: [Type] then • base64_encode($username . ":" . $password) • OAuth is also a common standard @lornajane
actual person) • the provider (user already has an account) • the consumer (wants to access user's account with provider) OAuth allows us to differentiate between a user and something operating on their behalf @lornajane
to provider website 2. User logs in, grants access 3. Provider sends user back to Consumer with token 4. Client exchanges token for access token 5. Access token sent in header of all subsequent requests @lornajane
tool I can't live without • Opens a tunnel to your local machine on a port you specify, gives you a URL • Also offers an excellent dashboard allowing inspect and replay of requests @lornajane