{"info":{"_postman_id":"824eb18a-0419-4af2-8311-afa9522860e0","name":"Quick Mock API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"9795430","collectionId":"824eb18a-0419-4af2-8311-afa9522860e0","publishedId":"SzYeuvFA","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-04-08T06:57:26.000Z"},"item":[{"name":"mirror","item":[{"name":"mirror","event":[{"listen":"prerequest","script":{"id":"0d697b51-1b91-4b3a-94cb-155aee7a5581","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"1a11dfcf-2166-43b7-a07f-30ee85bb0ac2","exec":[""],"type":"text/javascript"}}],"id":"b1fe6dc8-f57f-444a-a602-20bdec5e0c5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://quickmockapi.herokuapp.com/api/mirror?query1=32&query2=54","description":"<h1 id=\"mirror-get\">Mirror <code>GET</code></h1>\n<h2 id=\"usage\">Usage</h2>\n<p>Returns what you porvide as a <code>JSON</code> String</p>\n<p>for <code>GET</code> request you can provide data using path </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api/mirror\n</code></pre><h2 id=\"path\">Path</h2>\n<p><strong>api/mirror</strong></p>\n<h2 id=\"example\">Example</h2>\n<p><strong>GET request</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api/mirror?query1=32&amp;query2=54\n</code></pre><p><strong>Response</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"query1\": \"32\",\n    \"query2\": \"54\"\n}\n</code></pre>","urlObject":{"protocol":"https","path":["api","mirror"],"host":["quickmockapi","herokuapp","com"],"query":[{"key":"query1","value":"32"},{"key":"query2","value":"54"}],"variable":[]}},"response":[],"_postman_id":"b1fe6dc8-f57f-444a-a602-20bdec5e0c5e"},{"name":"mirror","event":[{"listen":"prerequest","script":{"id":"99e16a5a-ce13-4216-ab78-93bc39b571c2","exec":["var body = {\r","       \"item1\":\"response\",\r","       \"item2\":\"request\"\r","};\r","\r","pm.environment.set(\"raw_data\",JSON.stringify(body));"],"type":"text/javascript"}}],"id":"92e79df1-9386-4428-bd03-8583755ac9f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{{raw_data}}","options":{"raw":{"language":"json"}}},"url":"https://quickmockapi.herokuapp.com/api/mirror","description":"<h1 id=\"mirror-post\">Mirror <code>POST</code></h1>\n<h2 id=\"usage\">Usage</h2>\n<p>Returns what you porvide as a <code>JSON</code> String</p>\n<p>for <code>POST</code> request you can provide data using path </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api/mirror\n</code></pre><h2 id=\"supported-format\">Supported Format</h2>\n<ol>\n<li><p>application/json</p>\n</li>\n<li><p>x-www-form-urlencoded</p>\n</li>\n</ol>\n<h2 id=\"path\">Path</h2>\n<p><strong>api/mirror</strong></p>\n<h2 id=\"example\">Example</h2>\n<p><strong>GET request</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api/mirror\n</code></pre><p><strong>POST Data</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"item1\": \"response\",\n    \"item2\": \"request\"\n}\n</code></pre><p><strong>Response</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"query1\": \"32\",\n    \"query2\": \"54\"\n}\n</code></pre>","urlObject":{"protocol":"https","path":["api","mirror"],"host":["quickmockapi","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"92e79df1-9386-4428-bd03-8583755ac9f5"}],"id":"439c9e85-f91d-4621-9f10-570258c6bcff","_postman_id":"439c9e85-f91d-4621-9f10-570258c6bcff","description":""},{"name":"user","item":[{"name":"api/user","id":"31a5097a-75f5-4c43-8a53-53d15ac1b264","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://quickmockapi.herokuapp.com/api/user","description":"<h1 id=\"user\">User</h1>\n<h2 id=\"usage\">Usage</h2>\n<p>Returns a single random json encoded user object.</p>\n<h2 id=\"path\">Path</h2>\n<p><code>api/user</code></p>\n<h2 id=\"example\">Example</h2>\n<p><strong>GET request</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api/user\n</code></pre><p><strong>Response</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"success\": true,\n    \"status_code\": 200,\n    \"data\": [\n        {\n            \"username\": \"Sacerdos\",\n            \"id\": 744050,\n            \"email\": \"Sacerdos744050@aim.com\"\n        }\n    ]\n}\n</code></pre>","urlObject":{"protocol":"https","path":["api","user"],"host":["quickmockapi","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"31a5097a-75f5-4c43-8a53-53d15ac1b264"},{"name":"api/users","id":"6c8c6867-57ab-4ec6-a4b1-96b570696509","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://quickmockapi.herokuapp.com/api/users?limit=3","description":"<h1 id=\"users\">Users</h1>\n<h2 id=\"usage\">Usage</h2>\n<p>Returns a single random json encoded user object.</p>\n<h2 id=\"path\">Path</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api/users\n</code></pre><h2 id=\"parameters\">Parameters</h2>\n<ul>\n<li><code>limit:</code> specify number of objects. defaults to 20, min=1, max=100.</li>\n</ul>\n<h2 id=\"example\">Example</h2>\n<p><strong>GET request</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api/users?limit=3\n</code></pre><p><strong>Response</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"success\": true,\n    \"status_code\": 200,\n    \"total_results\": 3,\n    \"data\": [\n        {\n            \"username\": \"Abas\",\n            \"id\": 300468,\n            \"email\": \"Abas300468@gms.com\"\n        },\n        {\n            \"username\": \"Abydus\",\n            \"id\": 708620,\n            \"email\": \"Abydus708620@hotmail.com\"\n        },\n        {\n            \"username\": \"Abae\",\n            \"id\": 635508,\n            \"email\": \"Abae635508@aim.com\"\n        }\n    ]\n}\n</code></pre>","urlObject":{"protocol":"https","path":["api","users"],"host":["quickmockapi","herokuapp","com"],"query":[{"description":{"content":"<p>returns specified number of users. Default to 20, min=1, max=100</p>\n","type":"text/plain"},"key":"limit","value":"3"}],"variable":[]}},"response":[],"_postman_id":"6c8c6867-57ab-4ec6-a4b1-96b570696509"},{"name":"api/user/get","id":"02cbefef-6e6c-4614-acb8-ae8382e5e2f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://quickmockapi.herokuapp.com/api/user/get?id=121","description":"<h1 id=\"users\">Users</h1>\n<h2 id=\"usage\">Usage</h2>\n<p>Returns a user with given <code>id</code>. id(integer)</p>\n<h2 id=\"path\">Path</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api/user/get\n</code></pre><h2 id=\"parameters\">Parameters</h2>\n<ul>\n<li><code>id:</code> id of a user.</li>\n</ul>\n<h2 id=\"example\">Example</h2>\n<p><strong>GET request</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api/user/get?id=121\n</code></pre><p><strong>Response</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"success\": true,\n    \"status_code\": 200,\n    \"data\": {\n        \"username\": \"Kusis\",\n        \"id\": 121,\n        \"email\": \"Kusis121@outlook.com\"\n    }\n}\n</code></pre>","urlObject":{"protocol":"https","path":["api","user","get"],"host":["quickmockapi","herokuapp","com"],"query":[{"key":"id","value":"121"}],"variable":[]}},"response":[],"_postman_id":"02cbefef-6e6c-4614-acb8-ae8382e5e2f4"}],"id":"5cfca995-d328-4e9e-a241-10a60f448c5c","_postman_id":"5cfca995-d328-4e9e-a241-10a60f448c5c","description":""}]}