Template:RESTfulExample
From ePrize Developers Wiki
(Difference between revisions)
(→Example: {{{title}}}) |
|||
(8 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
== Example: {{{title}}} == | == Example: {{{title}}} == | ||
- | {{ | + | {{ #if: {{{summary|}}} | |
=== Summary === | === Summary === | ||
{{{summary}}} | {{{summary}}} | ||
| }} | | }} | ||
- | {{ | + | {{ #if: {{{request|}}} | |
=== Request === | === Request === | ||
{{ #expandafter:pre|| | {{ #expandafter:pre|| | ||
Line 13: | Line 13: | ||
| }} | | }} | ||
- | {{ | + | {{ #if: {{{response|}}} | |
=== Response === | === Response === | ||
- | {{ | + | {{ #if: {{{responsecode|}}} | |
HTTP Status Code: {{{responsecode}}} | HTTP Status Code: {{{responsecode}}} | ||
| }} | | }} | ||
- | {{ | + | {{ #if: {{{responseloc|}}} | |
HTTP Redirect Location: {{{responseloc}}} | HTTP Redirect Location: {{{responseloc}}} | ||
| }} | | }} | ||
Line 26: | Line 26: | ||
{{{response}}} | {{{response}}} | ||
}} | }} | ||
+ | | }} | ||
+ | |||
+ | {{ #if: {{{extranotes|}}} | | ||
+ | ==== Notes ==== | ||
+ | {{{extranotes}}} | ||
| }} | | }} |