Template:RESTfulExample

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search
Current revision (16:51, 28 January 2013) (edit) (undo)
(Example: {{{title}}})
 
(10 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 ===
Line 10: Line 12:
}}
}}
| }}
| }}
 +
{{ #if: {{{response|}}} |
{{ #if: {{{response|}}} |
=== Response ===
=== Response ===
-
{{ #if: {{{responsecode|}}} |HTTP Status Code: {{{responsecode}}}| }}
+
{{ #if: {{{responsecode|}}} |
 +
HTTP Status Code: {{{responsecode}}}
 +
| }}
 +
 
 +
{{ #if: {{{responseloc|}}} |
 +
HTTP Redirect Location: {{{responseloc}}}
 +
| }}
 +
 
 +
{{ #expandafter:pre||
 +
{{{response}}}
 +
}}
 +
| }}
-
{{ #if: {{{responseloc|}}} |HTTP Redirect Location: {{{responseloc}}}| }}
+
{{ #if: {{{extranotes|}}} |
-
{{ #expandafter:pre||{{{response}}} }}
+
==== Notes ====
 +
{{{extranotes}}}
| }}
| }}

Current revision

Example: {{{title}}}

Personal tools