I'm trying to do a simple REST api in a CakePhp app, using a REST plugin I found, which for Authorization uses http headers.
My question is, how can I supply through jQuery using json, a header like for example:
Authorization: TRUEREST username=wwwww&password=zzzzz&apikey=xxxxxyyyyyyy