Skip to content

Commit 465fd43

Browse files
committed
Request HTTP method in web UI
1 parent ccec1a3 commit 465fd43

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

netmockery/Views/Responses/RequestDetails.cshtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
<ul>
1111
<li>Timestamp: <code>@Model.Timestamp.ToString("HH:mm:ss.fff")</code></li>
12+
<li>Method: @Model.Method</li>
1213
<li>Path: <code>@Model.RequestPath</code></li>
1314
@if (! string.IsNullOrEmpty(Model.QueryString))
1415
{

netmockery/Views/Shared/Components/ResponseTable/Default.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{
2121
<tr>
2222
<td>@item.Timestamp.ToString("HH:mm:ss.fff")</td>
23-
<td>@(item.RequestPath)@(item.QueryString)</td>
23+
<td>@item.Method @(item.RequestPath)@(item.QueryString)</td>
2424
<td>
2525
@if (item.Endpoint != null)
2626
{

0 commit comments

Comments
 (0)