working on respond_to
add httparty controller request to api