mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 18:33:55 +00:00
Merge pull request #4937 from loongmxbt/patch-1
Fix documentation type on request verb
This commit is contained in:
commit
e20ed1b1fd
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user