Month: May 2019

  • HTTP Status code in REST API

    HTTP Status code in REST API

    请求方式 HTTP Methods HTTP methods are sometimes referred to as HTTP verbs. They are simply just different ways to communicate via HTTP. The main ones used by the REST API are: GET should be used for retrieving data from the API. POST should be used for creating new resources (i.e users, products, taxonomies). PUT should…