diff --git a/app/Storage/Request.php b/app/Storage/Request.php
index cce7406..85cdee7 100644
--- a/app/Storage/Request.php
+++ b/app/Storage/Request.php
@@ -36,6 +36,8 @@ public static function createFromRequest(HttpRequest $request)
'method' => $request->getMethod(),
'user_agent' => $request->header('User-Agent'),
'content' => file_get_contents('php://input'),
+ 'query' => empty($request->query->all()) ? null : $request->query->all(),
+ 'request' => empty($request->request->all()) ? null : $request->request->all(),
'headers' => $request->headers->all(),
'url' => $request->fullUrl(),
'created_at' => Carbon::now()->toDateTimeString(),
diff --git a/public/css/app.css b/public/css/app.css
index 63aa487..a65e6d9 100644
--- a/public/css/app.css
+++ b/public/css/app.css
@@ -133,10 +133,15 @@ code {
#requestDetails .table > tfoot > tr > td,
#requestDetails .table > tfoot > tr > th,
#requestDetails .table > thead > tr > td,
-#requestDetails .table > thead > tr > th {
+#requestDetails .table > thead > tr > th, #requestData .table > tbody > tr > td,
+#requestData .table > tbody > tr > th,
+#requestData .table > tfoot > tr > td,
+#requestData .table > tfoot > tr > th,
+#requestData .table > thead > tr > td,
+#requestData .table > thead > tr > th {
padding: 3px; }
-#requestDetails table {
+#requestDetails table, #requestData table {
font-size: 90%; }
#noContent {
diff --git a/public/css/app.css.map b/public/css/app.css.map
index 16df668..02d5595 100644
--- a/public/css/app.css.map
+++ b/public/css/app.css.map
@@ -1 +1 @@
-{"version":3,"sources":["app.scss"],"names":[],"mappings":"AAEA;;GAEG;AAEH,wEAAwE;AACxE;EACE,kBAAkB,EACnB;;AAGD;;GAEG;AAEH;EACE,qBAAqB;EACrB,8BAA8B,EAC/B;;AAED;;;GAGG;AACH;EACE,UAAU,EACX;;AAED;;GAEG;AAEH,iCAAiC;AACjC;EACE,cAAc,EACf;;AACD;EACE;IACE,gBAAgB;IAChB,UAAU;IACV,UAAU;IACV,QAAQ;IACR,cAAc;IACd,eAAe;IACf,cAAc;IACd,mBAAmB;IACnB,iBAAiB;IAAE,8DAA8D;IACjF,0BAA0B;IAC1B,6BAA6B,EAC9B,EAAA;;AAGH,wBAAwB;AACxB;EACE,oBAAoB;EAAE,+BAA+B;EACrD,oBAAoB;EACpB,mBAAmB,EACpB;;AACD;EACE,oBAAoB;EACpB,mBAAmB,EACpB;;AACwB;;;EAGvB,YAAY;EACZ,0BAA0B,EAC3B;;AAEY;EACX,cAAc;EACd,mBAAmB;EACnB,iBAAiB;EACjB,YAAY;EACZ,UAAU;EACV,WAAW;EACX,oBAAoB;EACpB,aAAa;EACb,gBAAgB,EACjB;;AAEe;EACd,eAAe;EACf,+BAA+B,EAChC;;AAED;EACE,0BAA0B;EAC1B,kBAAkB;EAClB,eAAe;EACf,YAAY,EACb;;AAED;;GAEG;AAEH;EACE,cAAc,EACf;;AACK;EACJ,cAAc,EACf;;AAGD;;GAEG;AAEH;EACE,oBAAoB;EACpB,mBAAmB,EACpB;;AACa;EACZ,iBAAiB,EAClB;;AACD;EACE,oBAAoB,EACrB;;AACY;EACX,sBAAsB;EACtB,mBAAmB,EACpB;;AAED;;GAEG;AAEH;EACE,aAAa,EACd;;AAED;EACE,mBAAmB,EACpB;;AAEK;EACJ,aAAa;EACb,WAAW,EACZ;;AAED;EACE,gBAAgB,EACjB;;AAED;EACE,iBAAiB;EACjB,YAAY,EACb;;AAED;;GAEG;AAGqB;;;;;;EAMpB,aAAa,EACd;;AAED;EACE,eAAe,EAChB;;AAGH;EACE,YAAY,EACb;;AAEC;;KAEG;AAEH,gEAAgE;AAClE;EAAU,eAAe,EAAI;;AAC7B;EAAU,eAAe,EAAI;;AAC7B;EAAgB,eAAe,EAAI;;AACnC;EAAiB,eAAe,EAAI;;AACpC;EAAQ,eAAe,EAAI;;AAC3B;EAAO,eAAe;EAAE,kBAAkB,EAAI","file":"app.css","sourcesContent":["// @import \"node_modules/bootstrap-sass/assets/stylesheets/bootstrap\";\n\n/*\n * Base structure\n */\n\n/* Move down content because we have a fixed navbar that is 50px tall */\nbody {\n padding-top: 50px;\n}\n\n\n/*\n * Global add-ons\n */\n\n.sub-header {\n padding-bottom: 10px;\n border-bottom: 1px solid #eee;\n}\n\n/*\n * Top navigation\n * Hide default border to remove 1px line.\n */\n.navbar-fixed-top {\n border: 0;\n}\n\n/*\n * Sidebar\n */\n\n/* Hide for mobile, show later */\n.sidebar {\n display: none;\n}\n@media (min-width: 768px) {\n .sidebar {\n position: fixed;\n top: 51px;\n bottom: 0;\n left: 0;\n z-index: 1000;\n display: block;\n padding: 20px;\n overflow-x: hidden;\n overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */\n background-color: #f5f5f5;\n border-right: 1px solid #eee;\n }\n}\n\n/* Sidebar navigation */\n.nav-sidebar {\n margin-right: -21px; /* 20px padding + 1px border */\n margin-bottom: 20px;\n margin-left: -20px;\n}\n.nav-sidebar > li > a {\n padding-right: 20px;\n padding-left: 20px;\n}\n.nav-sidebar > .active > a,\n.nav-sidebar > .active > a:hover,\n.nav-sidebar > .active > a:focus {\n color: #fff;\n background-color: #428bca;\n}\n\n.nav-sidebar .delete {\n display: none;\n position: absolute;\n padding: 2px 5px;\n right: 10px;\n top: 20px;\n z-index: 1;\n background: #d9534f;\n color: white;\n font-size: 10px;\n}\n\n.select:hover + .delete, .delete:hover {\n display: block;\n background: #d9534f !important;\n}\n\n.sidebar-header {\n text-transform: uppercase;\n font-weight: bold;\n font-size: 80%;\n color: #999;\n}\n\n/*\n * Main content\n */\n\n.main {\n padding: 10px;\n}\n.main .page-header {\n margin-top: 0;\n}\n\n\n/*\n * Placeholder dashboard ideas\n */\n\n.placeholders {\n margin-bottom: 30px;\n text-align: center;\n}\n.placeholders h4 {\n margin-bottom: 0;\n}\n.placeholder {\n margin-bottom: 20px;\n}\n.placeholder img {\n display: inline-block;\n border-radius: 50%;\n}\n\n/*\n * Misc. styles\n */\n\ntable.table-borderless tbody td, table.table-borderless tbody th {\n border: none;\n}\n\n.request-loader {\n padding-left: 10px;\n}\n\n.alert.alert-info {\n padding: 7px;\n width: 20%;\n}\n\na[ng-click]{\n cursor: pointer;\n}\n\ncode {\n background: #EEE;\n color: #333;\n}\n\n/*\n * Request Details Table\n */\n\n#requestDetails {\n .table > tbody > tr > td,\n .table > tbody > tr > th,\n .table > tfoot > tr > td,\n .table > tfoot > tr > th,\n .table > thead > tr > td,\n .table > thead > tr > th {\n padding: 3px;\n }\n\n table {\n font-size: 90%;\n }\n}\n\n#noContent {\n color: #ccc;\n}\n\n /*\n * JSON syntax highlighting\n */\n\n /* pre {outline: 1px solid #ccc; padding: 5px; margin: 5px; } */\n.string { color: #343333; }\n.number { color: #ba8000; }\n.boolean-true { color: #3cbe17; }\n.boolean-false { color: #bc1233; }\n.null { color: #2428c5; }\n.key { color: #676566; font-weight: bold; }\n"]}
\ No newline at end of file
+{"version":3,"sources":["app.scss"],"names":[],"mappings":"AAEA;;GAEG;AAEH,wEAAwE;AACxE;EACE,kBAAkB,EACnB;;AAGD;;GAEG;AAEH;EACE,qBAAqB;EACrB,8BAA8B,EAC/B;;AAED;;;GAGG;AACH;EACE,UAAU,EACX;;AAED;;GAEG;AAEH,iCAAiC;AACjC;EACE,cAAc,EACf;;AACD;EACE;IACE,gBAAgB;IAChB,UAAU;IACV,UAAU;IACV,QAAQ;IACR,cAAc;IACd,eAAe;IACf,cAAc;IACd,mBAAmB;IACnB,iBAAiB;IAAE,8DAA8D;IACjF,0BAA0B;IAC1B,6BAA6B,EAC9B,EAAA;;AAGH,wBAAwB;AACxB;EACE,oBAAoB;EAAE,+BAA+B;EACrD,oBAAoB;EACpB,mBAAmB,EACpB;;AACmB;EAClB,oBAAoB;EACpB,mBAAmB,EACpB;;AACD;;;EAGE,YAAY;EACZ,0BAA0B,EAC3B;;AAED;EACE,cAAc;EACd,mBAAmB;EACnB,iBAAiB;EACjB,YAAY;EACZ,UAAU;EACV,WAAW;EACX,oBAAoB;EACpB,aAAa;EACb,gBAAgB,EACjB;;AAED;EACE,eAAe;EACf,+BAA+B,EAChC;;AAED;EACE,0BAA0B;EAC1B,kBAAkB;EAClB,eAAe;EACf,YAAY,EACb;;AAED;;GAEG;AAEH;EACE,cAAc,EACf;;AACK;EACJ,cAAc,EACf;;AAGD;;GAEG;AAEH;EACE,oBAAoB;EACpB,mBAAmB,EACpB;;AACD;EACE,iBAAiB,EAClB;;AACD;EACE,oBAAoB,EACrB;;AACY;EACX,sBAAsB;EACtB,mBAAmB,EACpB;;AAED;;GAEG;AAE0B;EAC3B,aAAa,EACd;;AAED;EACE,mBAAmB,EACpB;;AAEK;EACJ,aAAa;EACb,WAAW,EACZ;;AAES;EACR,gBAAgB,EACjB;;AAED;EACE,iBAAiB;EACjB,YAAY,EACb;;AAED;;GAEG;AAEH;;;;;;;;;;;EAOI,aAAa,EACd;;AAED;EACE,eAAe,EAChB;;AAGH;EACE,YAAY,EACb;;AAEC;;KAEG;AAEH,gEAAgE;AAClE;EAAU,eAAe,EAAI;;AAC7B;EAAU,eAAe,EAAI;;AAC7B;EAAgB,eAAe,EAAI;;AACnC;EAAiB,eAAe,EAAI;;AACpC;EAAQ,eAAe,EAAI;;AAC3B;EAAO,eAAe;EAAE,kBAAkB,EAAI","file":"app.css","sourcesContent":["// @import \"node_modules/bootstrap-sass/assets/stylesheets/bootstrap\";\n\n/*\n * Base structure\n */\n\n/* Move down content because we have a fixed navbar that is 50px tall */\nbody {\n padding-top: 50px;\n}\n\n\n/*\n * Global add-ons\n */\n\n.sub-header {\n padding-bottom: 10px;\n border-bottom: 1px solid #eee;\n}\n\n/*\n * Top navigation\n * Hide default border to remove 1px line.\n */\n.navbar-fixed-top {\n border: 0;\n}\n\n/*\n * Sidebar\n */\n\n/* Hide for mobile, show later */\n.sidebar {\n display: none;\n}\n@media (min-width: 768px) {\n .sidebar {\n position: fixed;\n top: 51px;\n bottom: 0;\n left: 0;\n z-index: 1000;\n display: block;\n padding: 20px;\n overflow-x: hidden;\n overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */\n background-color: #f5f5f5;\n border-right: 1px solid #eee;\n }\n}\n\n/* Sidebar navigation */\n.nav-sidebar {\n margin-right: -21px; /* 20px padding + 1px border */\n margin-bottom: 20px;\n margin-left: -20px;\n}\n.nav-sidebar > li > a {\n padding-right: 20px;\n padding-left: 20px;\n}\n.nav-sidebar > .active > a,\n.nav-sidebar > .active > a:hover,\n.nav-sidebar > .active > a:focus {\n color: #fff;\n background-color: #428bca;\n}\n\n.nav-sidebar .delete {\n display: none;\n position: absolute;\n padding: 2px 5px;\n right: 10px;\n top: 20px;\n z-index: 1;\n background: #d9534f;\n color: white;\n font-size: 10px;\n}\n\n.select:hover + .delete, .delete:hover {\n display: block;\n background: #d9534f !important;\n}\n\n.sidebar-header {\n text-transform: uppercase;\n font-weight: bold;\n font-size: 80%;\n color: #999;\n}\n\n/*\n * Main content\n */\n\n.main {\n padding: 10px;\n}\n.main .page-header {\n margin-top: 0;\n}\n\n\n/*\n * Placeholder dashboard ideas\n */\n\n.placeholders {\n margin-bottom: 30px;\n text-align: center;\n}\n.placeholders h4 {\n margin-bottom: 0;\n}\n.placeholder {\n margin-bottom: 20px;\n}\n.placeholder img {\n display: inline-block;\n border-radius: 50%;\n}\n\n/*\n * Misc. styles\n */\n\ntable.table-borderless tbody td, table.table-borderless tbody th {\n border: none;\n}\n\n.request-loader {\n padding-left: 10px;\n}\n\n.alert.alert-info {\n padding: 7px;\n width: 20%;\n}\n\na[ng-click]{\n cursor: pointer;\n}\n\ncode {\n background: #EEE;\n color: #333;\n}\n\n/*\n * Request Details Table\n */\n\n#requestDetails, #requestData {\n .table > tbody > tr > td,\n .table > tbody > tr > th,\n .table > tfoot > tr > td,\n .table > tfoot > tr > th,\n .table > thead > tr > td,\n .table > thead > tr > th {\n padding: 3px;\n }\n\n table {\n font-size: 90%;\n }\n}\n\n#noContent {\n color: #ccc;\n}\n\n /*\n * JSON syntax highlighting\n */\n\n /* pre {outline: 1px solid #ccc; padding: 5px; margin: 5px; } */\n.string { color: #343333; }\n.number { color: #ba8000; }\n.boolean-true { color: #3cbe17; }\n.boolean-false { color: #bc1233; }\n.null { color: #2428c5; }\n.key { color: #676566; font-weight: bold; }\n"]}
\ No newline at end of file
diff --git a/resources/assets/sass/app.scss b/resources/assets/sass/app.scss
index d0e650a..6370af3 100644
--- a/resources/assets/sass/app.scss
+++ b/resources/assets/sass/app.scss
@@ -153,7 +153,7 @@ code {
* Request Details Table
*/
-#requestDetails {
+#requestDetails, #requestData {
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
diff --git a/resources/views/app.php b/resources/views/app.php
index 68c4237..602f834 100644
--- a/resources/views/app.php
+++ b/resources/views/app.php
@@ -258,6 +258,38 @@ class="btn btn-xs" ng-class="redirectUrl ? '' : 'disabled'"
+
+
+
+
+
+
+ Query strings
+ |
+
+
+ {{ name }} |
+ {{ value == '' ? '(empty)' : value }} |
+
+
+
+
+
+
+
+
+
+ Form values
+ |
+
+
+ {{ name }} |
+ {{ value == '' ? '(empty)' : value }} |
+
+
+
+
+