Commit a58f4f00 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'sh-fix-docs-lint-snippets-docs' into 'master'

Remove trailing whitespace from project snippets API docs

Closes #66677

See merge request gitlab-org/gitlab-ce!32298
parents 4738ef64 3b0479bf
...@@ -87,7 +87,7 @@ Example request: ...@@ -87,7 +87,7 @@ Example request:
curl --request POST https://gitlab.com/api/v4/projects/:id/snippets \ curl --request POST https://gitlab.com/api/v4/projects/:id/snippets \
--header "PRIVATE-TOKEN: <your access token>" \ --header "PRIVATE-TOKEN: <your access token>" \
--header "Content-Type: application/json" \ --header "Content-Type: application/json" \
-d @snippet.json -d @snippet.json
``` ```
`snippet.json` used in the above example request: `snippet.json` used in the above example request:
...@@ -126,7 +126,7 @@ Example request: ...@@ -126,7 +126,7 @@ Example request:
curl --request PUT https://gitlab.com/api/v4/projects/:id/snippets \ curl --request PUT https://gitlab.com/api/v4/projects/:id/snippets \
--header "PRIVATE-TOKEN: <your_access_token>" \ --header "PRIVATE-TOKEN: <your_access_token>" \
--header "Content-Type: application/json" \ --header "Content-Type: application/json" \
-d @snippet.json -d @snippet.json
``` ```
`snippet.json` used in the above example request: `snippet.json` used in the above example request:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment