Merge pull request #4937 from loongmxbt/patch-1

Fix documentation type on request verb
This commit is contained in:
Jim LAURIE 2020-01-09 12:07:19 +01:00 committed by GitHub
commit e20ed1b1fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,7 @@ To do so, you will have to request the `/articles` route in **POST**.
import axios from 'axios';
const {data} = await axios
.get('http://localhost:1337/articles', {
.post('http://localhost:1337/articles', {
data: {
title: 'my article'
content: 'my super article content'