Payload before encryption :
HTTP/1.1 200 OK
Authorization: password
Content-Encoding: UTF-8
Content-Length: 138
{ "command" : "delete all records" }
Payload after encrypting Authorization header :
HTTP/1.1 200 OK
Authorization: spxnxkoJX+O1iatF6gco9Q==
Content-Encoding: UTF-8
Content-Length: 138
{ "command" : "delete all records" }
Protocol is NOT over SSL.
EDIT
In our project, my senior added this extra layer of security(as per his opinion), with which I am not agree. As per my opinion, this will add an extra cost of encryption and decryption of header value and without any security benefit.
I want to ensure, if he is really right?