added a post request, refactored request class to be able to pass differ...

...ent arguments