Template:RESTfulExample

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search
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||
{{{request}}}
{{{request}}}
}}
}}
| }}
| }}
- 
{{ #if: {{{response|}}} |
{{ #if: {{{response|}}} |
=== Response ===
=== Response ===
-
 
+
{{ #if: {{{responsecode|}}} |
HTTP Status Code: {{{responsecode}}}
HTTP Status Code: {{{responsecode}}}
-
 
+
| }}
 +
{{ #if: {{{responseloc|}}} |
 +
HTTP Redirect Location: {{{responseloc}}}
 +
| }}
{{ #expandafter:pre||
{{ #expandafter:pre||
{{{response}}}
{{{response}}}
}}
}}
| }}
| }}

Revision as of 15:29, 18 March 2009

Example: {{{title}}}

Personal tools