From d2cb41f755167c7f89489392c06f8be262dd76b2 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 12 Oct 2023 18:28:05 +0200 Subject: [PATCH] fix: update example url --- README.md | 30 +++++++++++++++--------------- postwoman.json | 6 +++--- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 2e5f066..1a4406f 100644 --- a/README.md +++ b/README.md @@ -26,10 +26,10 @@ All coming examples are run with provided example `postwoman.json` in their cwd. ``` $ pw show ─┐ Sample Postman Collection - ├ * GET https://alemi.dev/dump?source=sample-collection + ├ * GET https://api.alemi.dev/dump?source=sample-collection ├─┐ POST requests - │ ├ * POST https://alemi.dev/dump - │ ├ * POST https://alemi.dev/dump + │ ├ * POST https://api.alemi.dev/dump + │ ├ * POST https://api.alemi.dev/dump │ ╵ ╵ ``` @@ -39,15 +39,15 @@ $ pw show -v ─┐ Sample Postman Collection │ A sample collection to demonstrate collections as a set of related requests │ - ├ * GET https://alemi.dev/dump?source=sample-collection + ├ * GET https://api.alemi.dev/dump?source=sample-collection │ ├─┐ POST requests │ │ - │ ├ * POST https://alemi.dev/dump + │ ├ * POST https://api.alemi.dev/dump │ │ [ content-type:text/plain ] │ │ Duis posuere augue vel cursus pharetra. In luctus a ex nec pretium... │ │ - │ ├ * POST https://alemi.dev/dump + │ ├ * POST https://api.alemi.dev/dump │ │ [ content-type:application/json ] │ │ {"length":100,"text":"Lorem ipsum"} │ │ @@ -60,17 +60,17 @@ $ pw show -v -p ─┐ Sample Postman Collection │ A sample collection to demonstrate collections as a set of related requests │ - ├ * GET https://alemi.dev/dump?source=sample-collection + ├ * GET https://api.alemi.dev/dump?source=sample-collection │ ├─┐ POST requests │ │ - │ ├ * POST https://alemi.dev/dump + │ ├ * POST https://api.alemi.dev/dump │ │ [ │ │ content-type:text/plain │ │ ] │ │ Duis posuere augue vel cursus pharetra. In luctus a ex nec pretium... │ │ - │ ├ * POST https://alemi.dev/dump + │ ├ * POST https://api.alemi.dev/dump │ │ [ │ │ content-type:application/json │ │ ] @@ -88,10 +88,10 @@ $ pw show -v -p ``` $ pw test ─┐ Sample Postman Collection - ├ ✓ 200 >> GET https://alemi.dev/dump?source=sample-collection + ├ ✓ 200 >> GET https://api.alemi.dev/dump?source=sample-collection ├─┐ POST requests - │ ├ ✓ 200 >> POST https://alemi.dev/dump - │ ├ ✓ 200 >> POST https://alemi.dev/dump + │ ├ ✓ 200 >> POST https://api.alemi.dev/dump + │ ├ ✓ 200 >> POST https://api.alemi.dev/dump │ ╵ ╵ ``` @@ -101,7 +101,7 @@ $ pw test -v -p ─┐ Sample Postman Collection │ A sample collection to demonstrate collections as a set of related requests │ - ├ ✓ 200 >> GET https://alemi.dev/dump?source=sample-collection + ├ ✓ 200 >> GET https://api.alemi.dev/dump?source=sample-collection │ { │ "body": "", │ "headers": { @@ -122,7 +122,7 @@ $ pw test -v -p │ ├─┐ POST requests │ │ - │ ├ ✓ 200 >> POST https://alemi.dev/dump + │ ├ ✓ 200 >> POST https://api.alemi.dev/dump │ │ { │ │ "body": "Duis posuere augue vel cursus pharetra. In luctus a ex nec pretium...", │ │ "headers": { @@ -143,7 +143,7 @@ $ pw test -v -p │ │ "version": "HTTP/1.0" │ │ } │ │ - │ ├ ✓ 200 >> POST https://alemi.dev/dump + │ ├ ✓ 200 >> POST https://api.alemi.dev/dump │ │ { │ │ "body": "{\"text\":\"Lorem ipsum\", \"length\":100}", │ │ "headers": { diff --git a/postwoman.json b/postwoman.json index d582966..7c9b9c2 100644 --- a/postwoman.json +++ b/postwoman.json @@ -11,7 +11,7 @@ "name": "GET request", "request": { "url": { - "raw": "https://alemi.dev/dump?source=sample-collection", + "raw": "https://api.alemi.dev/dump?source=sample-collection", "protocol": "https", "host": [ "alemi", @@ -43,7 +43,7 @@ { "name": "Text body", "request": { - "url": "https://alemi.dev/dump", + "url": "https://api.alemi.dev/dump", "method": "POST", "header": [ { @@ -63,7 +63,7 @@ { "name": "Json body", "request": { - "url": "https://alemi.dev/dump", + "url": "https://api.alemi.dev/dump", "method": "POST", "header": [ {