{"info":{"_postman_id":"b6c2847f-8621-4044-a4cc-fc2eb2042626","name":"dycow","description":"<html><head></head><body><p>A collection for dycow preconfigurated requests/responses config-file.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"2696027","collectionId":"b6c2847f-8621-4044-a4cc-fc2eb2042626","publishedId":"TVmV6ZS2","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-12-11T11:01:57.000Z"},"item":[{"name":"GET /","id":"947214ed-5a87-4f15-9661-e6b9cf767a72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:1237/","description":"<p>An example and basic GET request, as described in conf-file : </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- GET /\nres: Hello world\n</code></pre><p>It should respond a simple 'Hello World' message.</p>\n","urlObject":{"protocol":"http","port":"1237","path":[""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"ac5eee64-a838-4acc-895b-c493069d2418","name":"GET /","originalRequest":{"method":"GET","header":[{"key":"","type":"text","value":""}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:1237/"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Fri, 11 Dec 2020 11:02:43 GMT"},{"key":"Content-type","value":"text/html"}],"cookie":[],"responseTime":null,"body":"Hello world"}],"_postman_id":"947214ed-5a87-4f15-9661-e6b9cf767a72"},{"name":"GET /list","id":"dbd3b4ff-9bba-4798-afdb-43e1a3ee5888","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:1237/list","description":"<p>An example and basic GET request, as described in conf-file, but this time returning the output of the command</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- GET /list\ncmd: ls -l\nres: #cmd#\n</code></pre><p>Here in the response, cmd can be consider to be a variable !</p>\n","urlObject":{"protocol":"http","port":"1237","path":["list"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"207ef4df-25c2-434d-9053-9411e0dc3700","name":"GET /list","originalRequest":{"method":"GET","header":[{"key":"","type":"text","value":"","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:1237/list"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Sat, 12 Dec 2020 13:06:30 GMT"},{"key":"Content-type","value":"text/html"}],"cookie":[],"responseTime":null,"body":"total 48\ndrwxr-xr-x 5 d4rk3r d4rk3r 4096 Dec 11 20:58 build\ndrwxr-xr-x 2 d4rk3r d4rk3r 4096 Dec 11 20:58 dist\ndrwxr-xr-x 3 d4rk3r d4rk3r 4096 Dec 12 13:33 dycow\ndrwxr-xr-x 2 d4rk3r d4rk3r 4096 Dec 11 20:58 dycow.egg-info\n-rw-r--r-- 1 d4rk3r d4rk3r  213 Dec 12 14:05 example_config\n-rw-r--r-- 1 d4rk3r d4rk3r 1065 Dec 11 11:21 LICENSE.txt\n-rw-r--r-- 1 d4rk3r d4rk3r    0 Dec 11 11:21 MANIFEST.in\n-rw-r--r-- 1 d4rk3r d4rk3r    0 Dec 12 14:06 out\ndrwxr-xr-x 2 d4rk3r d4rk3r 4096 Dec 11 00:51 __pycache__\n-rw-r--r-- 1 d4rk3r d4rk3r  215 Dec 11 11:17 pypi_deploy.sh\n-rw-r--r-- 1 d4rk3r d4rk3r 1836 Dec 11 12:57 README.md\ndrwxr-xr-x 2 d4rk3r d4rk3r 4096 Dec 11 12:16 scripts\n-rw-r--r-- 1 d4rk3r d4rk3r  757 Dec 11 13:01 setup.py\ndrwxr-xr-x 2 d4rk3r d4rk3r 4096 Dec 11 11:22 tests\n"}],"_postman_id":"dbd3b4ff-9bba-4798-afdb-43e1a3ee5888"},{"name":"GET /callme?name&content","id":"7465092f-26d4-4a47-ab20-723a6db9c07f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:1237/callme?name=darker","description":"<p>An example of GET request, as described in conf-file : </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- GET /callme?name&amp;content\ncmd: echo 'Hello #name#, #content#'\nres: Thanks #name# !\n</code></pre><p>It should receive in the endpoint <code>/callme</code> with query parameters <code>name</code> and <code>content</code>, then execute a specific command <code>echo 'Hello #name#, #content#'</code> and return <code>Thanks #name# !</code>.</p>\n","urlObject":{"protocol":"http","port":"1237","path":["callme"],"host":["127","0","0","1"],"query":[{"key":"name","value":"darker"}],"variable":[]}},"response":[{"id":"a41631a9-3f9b-4195-8848-444ee303d676","name":"GET /callme?name&content","originalRequest":{"method":"GET","header":[{"key":"","type":"text","value":"","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"http://127.0.0.1:1237/callme?name=darker&content=good","protocol":"http","host":["127","0","0","1"],"port":"1237","path":["callme"],"query":[{"key":"name","value":"darker"},{"key":"content","value":"good"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Fri, 11 Dec 2020 11:02:50 GMT"},{"key":"Content-type","value":"text/html"}],"cookie":[],"responseTime":null,"body":"Thanks darker !"}],"_postman_id":"7465092f-26d4-4a47-ab20-723a6db9c07f"},{"name":"POST /save","id":"330eee11-89af-4ac1-a40d-eeb29c282dfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"test\",\n    \"content\": \"Big text\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:1237/save","description":"<p>An example of POST request, as described in conf-file : </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- POST /save\nvar: name, content\ncmd: echo '#content#' &gt; #name#.txt\n</code></pre><p>It should receive in the endpoint <code>/save</code> with parameters <code>name</code> and <code>content</code>, then execute a specific command <code>echo '#content#' &gt; #name#.txt</code> which is to copy the content variable to a file named with the name variable, because <code>res</code> is not defined, it will return a default value.</p>\n","urlObject":{"protocol":"http","port":"1237","path":["save"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"ba354c19-1cef-4146-a13a-038c7f146916","name":"POST /save","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"test\",\n    \"content\": \"Big text\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:1237/save"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"BaseHTTP/0.6 Python/3.7.3"},{"key":"Date","value":"Fri, 11 Dec 2020 11:01:29 GMT"},{"key":"Content-type","value":"text/html"}],"cookie":[],"responseTime":null,"body":"request sent."}],"_postman_id":"330eee11-89af-4ac1-a40d-eeb29c282dfd"}],"event":[{"listen":"prerequest","script":{"id":"236c08ae-6705-478c-8990-e133d719c604","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e045290f-5c74-439c-991d-b0136110cc87","type":"text/javascript","exec":[""]}}]}