Corrections errors and parameters

* Handling error responses
* Putting parameters between "" (otherwise server returns error)