summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2015-05-15 13:33:36 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2015-05-15 13:33:36 (GMT)
commitbbabe42c9aca3a8f07f46197ac4587268f160e00 (patch)
treed96bbc38520c88fdb645d11274044dbdfc465636
parent9ef9efdad9331159207e89d919e41a9731a690a6 (diff)
downloadpasserelle-maarch-bbabe42c9aca3a8f07f46197ac4587268f160e00.zip
passerelle-maarch-bbabe42c9aca3a8f07f46197ac4587268f160e00.tar.gz
passerelle-maarch-bbabe42c9aca3a8f07f46197ac4587268f160e00.tar.bz2
templates: new POST endpoint
-rw-r--r--passerelle_maarch/templates/passerelle_maarch/detail.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/passerelle_maarch/templates/passerelle_maarch/detail.html b/passerelle_maarch/templates/passerelle_maarch/detail.html
index b9bf8ea..12b87c8 100644
--- a/passerelle_maarch/templates/passerelle_maarch/detail.html
+++ b/passerelle_maarch/templates/passerelle_maarch/detail.html
@@ -18,6 +18,8 @@
<ul>
<li>{% trans 'Check WSDL availability:' %} <a href="{% url 'maarch-ping' slug=object.slug %}"
>{{ site_base_uri }}{% url 'maarch-ping' slug=object.slug %}</a>[?debug]</li>
+<li>{% trans 'Store a resource:' %} POST <a href="{% url 'maarch-resource' slug=object.slug %}"
+ >{{ site_base_uri }}{% url 'maarch-resource' slug=object.slug %}</a> (payload: JSON w.c.s. formdata)</li>
<li>{% trans 'Get a resource:' %} <a href="{% url 'maarch-resource-id' table_name='res_letterbox' resource_id=100 slug=object.slug %}"
>{{ site_base_uri }}{% url 'maarch-resource-id' table_name='res_letterbox' resource_id=100 slug=object.slug %}</a></li>
<li>{% trans 'Get a resource (+adr):' %} <a href="{% url 'maarch-resource-id-adr' table_name='res_letterbox' adr_table_name='adr_abc' resource_id=100 slug=object.slug %}"