美文网首页
cURL for HTTP API: -X PUT/POST/D

cURL for HTTP API: -X PUT/POST/D

作者: cutelittlePanda | 来源:发表于2018-03-28 20:34 被阅读0次

https://idratherbewriting.com/learnapidoc/docapis_understand_curl.html#common-curl-commands-related-to-rest

http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/

1. Types of HTTP API Request, Verbs:

GET:   read information from a server. Click on a link.

POST:   supply message  to a server to create information. Submit a form.

PUT:     to amend/update message or create information.  Update a form.

DELETE: to delete information.

HTTP API Verbs

Payload: the body of HTTP request or response.

when working with HTTP APIs, the sending and receiving messages are JSON or XML payloads.

XML Defination

相关文章

网友评论

      本文标题:cURL for HTTP API: -X PUT/POST/D

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