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

2018-03-28  本文已影响0人  cutelittlePanda

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
上一篇 下一篇

猜你喜欢

热点阅读