CRUDã®æä½ãRESTã§è¡¨ç¾ããã¨ä¸å¯¾ä¸ã§å¯¾å¿ãã¦ããªããã¨ã«æ°ã¥ãã¾ããRã¯GETãDã¯DELETEã¨èãã¦ããã¦è¯ãããã§ãããCã¨Uã¯PUTãPOSTãPATCHã®3ã¤ã®é¸æè¢ããããAPIãè¨è¨ãã¦ããã¨è¿·ãã¾ããæ´çããããã«ã¾ã¨ãã¦ããããã¨æãã¾ãã ä¸è¨ã®è³æãåèã«ãã¾ããã http - PUT vs POST in REST - Stack Overflow When to use PUT or POST | - The RESTful cookbook GitHub API v3 åºæ¬çãªèãæ¹ PUT: ãªã½ã¼ã¹ã®ä½æããªã½ã¼ã¹ã®ç½®æ POST: ãªã½ã¼ã¹ã®ä½æ PATCH: ãªã½ã¼ã¹ã®é¨åç½®æ PUT PUTã¯POSTã¨éãããªã½ã¼ã¹åãæå®ãã¦ä½æã¾ãã¯æ´æ°ããããã¡ã½ããã§ããPUT /articles/3421ã¯æ°è¦ä½æããããã¾ããããæ´æ°ããããã¾ã
{{#tags}}- {{label}}
{{/tags}}