docs: Tip about not forgetting @ in curl command. (#19)

* Give a tip about not forgetting @ in curl command.

* Update src/docs/markdown/api-tutorial.md

Co-Authored-By: Matt Holt <mholt@users.noreply.github.com>

* remove additional lines

* remove extra lines

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
This commit is contained in:
Toby Allen 2020-04-07 14:15:47 +01:00 committed by GitHub
parent 73c012cbef
commit 9ec7d1856a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,6 +73,10 @@ Then upload it:
-d @caddy.json
</code></pre>
<aside class="tip">
Make sure you don't forget the @ in front of your filename; this tells curl you are sending a file.
</aside>
<aside class="complete">Give Caddy a config</aside>
We can verify that Caddy applied our new config with another GET request:
@ -205,4 +209,3 @@ And check it again:
<aside class="complete">Use <code>@id</code> tags</aside>