changed url prefix to of
added hash params input methods
array handling for request body