Support of http response code
Rename getRequestData to getPostData