Took out unnecessary print stmts
Setting header manually
Proper passing in of params/data for respective methods