From afa65349cc256f1b3bc5e51844aaebdff9a021e1 Mon Sep 17 00:00:00 2001 From: andreimarcu Date: Sat, 4 Jun 2016 00:20:20 -0700 Subject: [PATCH] Fix typos in API template --- templates/API.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/API.html b/templates/API.html index f46af5e..aab73b1 100644 --- a/templates/API.html +++ b/templates/API.html @@ -74,13 +74,13 @@

Uploading myphoto.jpg with a random filename and getting a json response:

{% if using_auth %} -
$ curl -H "Linx-Api-Key: mysecretkey" -H "Accept: application/json" -H "Linx-Randomize: yes" -T myphoto.jpg {{ siteurl }}/upload/  
+			
$ curl -H "Linx-Api-Key: mysecretkey" -H "Accept: application/json" -H "Linx-Randomize: yes" -T myphoto.jpg {{ siteurl }}upload/  
 {"delete_key":"...","expiry":"0","filename":"f34h4iu.jpg","mimetype":"image/jpeg",
-"sha256sum":"...","size":"...","url":"{{ steurl }}/f34h4iu.jpg"}
+"sha256sum":"...","size":"...","url":"{{ siteurl }}f34h4iu.jpg"}
{% else %}
$ curl -H "Accept: application/json" -H "Linx-Randomize: yes" -T myphoto.jpg {{ siteurl }}/upload/  
 {"delete_key":"...","expiry":"0","filename":"f34h4iu.jpg","mimetype":"image/jpeg",
-"sha256sum":"...","size":"...","url":"{{ steurl }}/f34h4iu.jpg"}
+"sha256sum":"...","size":"...","url":"{{ siteurl }}f34h4iu.jpg"} {% endif %}

Overwriting a file