Template:RESTfulExample

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search
Current revision (16:51, 28 January 2013) (edit) (undo)
(Example: {{{title}}})
 
(8 intermediate revisions not shown.)
Line 1: Line 1:
== Example: {{{title}}} ==
== Example: {{{title}}} ==
-
{{- #if: {{{summary|}}} |
+
{{ #if: {{{summary|}}} |
=== Summary ===
=== Summary ===
{{{summary}}}
{{{summary}}}
| }}
| }}
-
{{- #if: {{{request|}}} |
+
{{ #if: {{{request|}}} |
=== Request ===
=== Request ===
{{ #expandafter:pre||
{{ #expandafter:pre||
Line 13: Line 13:
| }}
| }}
-
{{- #if: {{{response|}}} |
+
{{ #if: {{{response|}}} |
=== Response ===
=== Response ===
-
{{- #if: {{{responsecode|}}} |
+
{{ #if: {{{responsecode|}}} |
HTTP Status Code: {{{responsecode}}}
HTTP Status Code: {{{responsecode}}}
| }}
| }}
-
{{- #if: {{{responseloc|}}} |
+
{{ #if: {{{responseloc|}}} |
HTTP Redirect Location: {{{responseloc}}}
HTTP Redirect Location: {{{responseloc}}}
| }}
| }}
Line 26: Line 26:
{{{response}}}
{{{response}}}
}}
}}
 +
| }}
 +
 +
{{ #if: {{{extranotes|}}} |
 +
==== Notes ====
 +
{{{extranotes}}}
| }}
| }}

Current revision

Example: {{{title}}}

Personal tools