美文网首页
http 的 method

http 的 method

作者: good__day | 来源:发表于2019-06-04 17:07 被阅读0次

https://www.cnblogs.com/machao/p/5788425.html

TRACE : It simply returns what was sent along the network path when a request is made.

OPTIONS : It allows a client to request information about the request methods supported by a service using a * wildcard in the URI.Finally, the response header will lists the supported methods.

CONNECT : It is used to establish a network connection to a resource and once connected the response sends a 200 status code and a “Connection Established” message.

OPTIONS获取服务器支持的HTTP请求方法;

HEAD跟get很像,但是不返回响应体信息,用于检查对象是否存在,并获取包含在响应消息头中的信息。

GET向特定的资源发出请求,得到资源。

POST向指定资源提交数据进行处理的请求,用于添加新的内容。

PUT向指定资源位置上传其最新的内容,用于修改某个内容。

DELETE请求服务器删除请求的URI所标识的资源,用于删除。

TRACE回馈服务器收到的请求,用于远程诊断服务器。

CONNECT用于代理进行传输,如使用ssl

Patch: 修改某个已有的资源。

相关文章

  • http和ajax接口请求

    http请求 资料 http method:HTTP Request Method(十五种) http heade...

  • HTTP Method

    原文 :HTTP Method 1.安全方法 HTTP定义了一组被称为安全方法的方法。GET方法和HEAD方法都被...

  • http 的 method

    https://www.cnblogs.com/machao/p/5788425.html TRACE :It s...

  • Runtime之Method Swizzling

    Method Swizzling 参考原文:http://nshipster.com/method-swizzli...

  • HTTP Method(二)

    HTTP Method http://www.cnblogs.com/ID890/p/http.html 简介: ...

  • HTTP Request Method

    GET 请求指定的页面信息,并返回实体主体。 HEAD 类似于get请求,只不过返回的响应中没有具体的内容,用于...

  • http request method

    根据HTTP标准,HTTP请求可以使用多种请求方法。 HTTP1.0定义了三种请求方法: GET, POST 和 ...

  • http 405在servlet中的出现原因和解决方法

    HTTP Status 405 - HTTP method GET is not supported by thi...

  • ParameterEncoding

    /**HTTP method definitions.*/ // MARK: ParameterEncoding/...

  • 注解

    @RestController// 配置http@RequestMapping(value="", method=...

网友评论

      本文标题:http 的 method

      本文链接:https://www.haomeiwen.com/subject/pxdrxctx.html