Add headers to every request.
Add headers to every request.

'Content-Type' is mandatory, 'Accept' is not, but it's sensible to set it as well.
http://jsonapi.org/format/#content-negotiation-clients

socialwifi/jsonapi-requests