Skip to content
Permalink
3339c012d1
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
66 lines (64 sloc) 1.25 KB
<div class="divider"></div>
<div class="section">
<h3>Request Headers</h3>
<p>Request Method: <strong>{{ request.method }}</strong></p>
<table class="striped">
<thead>
<tr>
<th>Item</th><th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Method</td>
<td>{{ request.method }}</td>
</tr>
{% for item in request.headers %}
<tr>
<td> {{ item [0] }} </td>
<td>{{ item[1] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% if request.args %}
<div class="section">
<h3>Request URL Arguments</h3>
<table class="striped">
<thead>
<tr>
<th>Key</th><th>Value</th>
</tr>
</thead>
<tbody>
{% for item in request.args %}
<tr>
<td>{{ item }}</td>
<td>{{ request.args[item] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}
{% if request.form %}
<div class="section">
<h3>Request Body Arguments</h3>
<table class="striped">
<thead>
<tr>
<th>Key</th><th>Value</th>
</tr>
</thead>
<tbody>
{% for item in request.form %}
<tr>
<td>{{ item }}</td>
<td>{{ request.form[item] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}