Add missing } to updateArticle code sample (#6924)
Before this change the example curl command returns 400 bad request with an appropriate API key and article ID. After this change the example curl command does not return error 400 bad request.
This commit is contained in:
parent
a654d25009
commit
6c302f712a
1 changed files with 1 additions and 1 deletions
|
|
@ -1890,7 +1890,7 @@ paths:
|
|||
source: |
|
||||
curl -X PUT -H "Content-Type: application/json" \
|
||||
-H "api-key: API_KEY" \
|
||||
-d '{"article":{"title":"Title"}' \
|
||||
-d '{"article":{"title":"Title"}}' \
|
||||
https://dev.to/api/articles/{id}
|
||||
|
||||
/articles/me:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue