powered by
private function for check the http status
checkHttpStatus(ret)
the response obj returned by httr package
return nothing , but if it finds some error , it stop the script