def get_body
      uri = URI.parse(@url)
      @response = get_response(uri)
      (@options[:any_response] || @response.code == '200') ? @response.body : nil
    rescue
      @options[:raise_error] ? raise : puts("Error: GET '#{@url}' -> #{$!.class}: #{$!.message}")
    end
def get_body
      uri = URI.parse(@url)
      @response = get_response(uri)
      (@options[:any_response] || @response.code == '200') ? @response.body : nil
    rescue
      @options[:raise_error] ? raise : puts("Error: GET '#{@url}' -> #{$!.class}: #{$!.message}")
    end
Returns body string if successful or nil if not.