Commit fc8724b1 authored by Stavros-Anastasios Charismiadis's avatar Stavros-Anastasios Charismiadis
Browse files

add postman collection

parent c4a26a5b
Loading
Loading
Loading
Loading
+118 −0
Original line number Diff line number Diff line
{
  "info": {
    "_postman_id": "783ff25d-3ff4-4ae5-a56b-1edeea129358",
    "name": "APIs",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "31915954",
    "_collection_link": "https://go.postman.co/collection/31915954-783ff25d-3ff4-4ae5-a56b-1edeea129358?source=collection_link"
  },
  "item": [
    {
      "name": "Onboard Invoker",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "http://127.0.0.1:5001/onboard",
          "protocol": "http",
          "host": [
            "127",
            "0",
            "0",
            "1"
          ],
          "port": "5001",
          "path": [
            "onboard"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Discover Service APIs",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "http://127.0.0.1:5001/discover",
          "protocol": "http",
          "host": [
            "127",
            "0",
            "0",
            "1"
          ],
          "port": "5001",
          "path": [
            "discover"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Get Authorization",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "http://127.0.0.1:5001/getauth",
          "protocol": "http",
          "host": [
            "127",
            "0",
            "0",
            "1"
          ],
          "port": "5001",
          "path": [
            "getauth"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Testing API",
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTc2OTA3NTIxMCwianRpIjoiMTkwNzU0NGYtM2EwYy00ZTcwLTk5ODQtMzE3ZmIzNTIxOTE5IiwidHlwZSI6ImFjY2VzcyIsInN1YiI6IklOVmU4Y2Y0ZmJjYjBmNDg4MjI5ODAyMzg2Zjg3ZjVmMSIsIm5iZiI6MTc2OTA3NTIxMCwiY3NyZiI6ImNjYzg0NTY3LWYxNDktNGZiZC04NDJmLWE0YmM0Zjc1MTFlOCIsImV4cCI6MTc2OTA3NTgxMCwiaXNzIjoiSU5WZThjZjRmYmNiMGY0ODgyMjk4MDIzODZmODdmNWYxIiwic2NvcGUiOiIzZ3BwI0FFRjNmYTFiODQyNzA2MTRjMTRjNmU1NmNlYTRmMzBlYTpNeSBBUEkiLCJyZXNfb3duZXJfaWQiOm51bGx9.bfzs1yQRM8RCtWNagXsnCFDWmmtUZOjIc06yAGkCPTgBlZtuaknYKGiLL8NhyplvGlWAx7aG3Re1otQypAqV7-fs3gFMwW8GMOBC1RlpzJXiCMjTvsntDUsfehjwYnLNxaXPo-pBjCqqdf4PQx_6cFZZWz6TN4CK0R4WK8uznlv_1Af1bs8KiSBgK1aZ92STg3Llr1qULaQSSGad6u6QQSLcn3I6nMW7hWiZZEJlHdf4AXXWKL8SwPwc6zv8KyQJo9kWI0_ImVdSH0grCyqKX42n0OSIekKpy5TSyUPDWJ_D_gYYaQ6UyrJtKbI4hnzw_VSIQAh0p1W4OlQka0B3ew",
              "type": "string"
            }
          ]
        },
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"api_name\": \"My API\",\n    \"resource_name\": \"Say hello\",\n    \"method\": \"GET\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "http://127.0.0.1:5001/access",
          "protocol": "http",
          "host": [
            "127",
            "0",
            "0",
            "1"
          ],
          "port": "5001",
          "path": [
            "access"
          ]
        }
      },
      "response": []
    }
  ]
}
 No newline at end of file