remove putHeaders... it is misleading. Makes you think that the headers for the request are being set.