changed style of method definition
procedure for constructing error map
added validations
added validations for url
added scenario and pending step for failed post