1.0.80-0 • Published 5 days ago

@appknit-project/appknit-internal-sdk v1.0.80-0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 days ago

Appknit platform SDK

Library for injecting in together with client code in Execution MS

NPM package here.

Usage

Client's code

const options = {
    url: "https://en4tapktc2xtb.x.pipedream.net/test/vm",
    method: "post",
    headers: { "Content-Type": "application/json;charset=utf-8" },
    data: {x: 123, y: "smth"}
};

const res1 = await sdk.axios(options); 
const res2 = await sdk.axios(options); 
const res3 = await sdk.axios(options); 

output = [].push(res1.data, res2.data, res3.data);

ExecutionMS response

[
  {
    request_type: 'outgoing_http_request',
    request_url: 'https://en4tapktc2xtb.x.pipedream.net/test/vm',
    request_method: 'post',
    request_headers: { 'Content-Type': 'application/json;charset=utf-8' },
    request_data: {x: 123, y: "smth"},
    response_status_code: 200,
    response_status_text: 'OK',
    response_headers: {
      'access-control-allow-origin': '*',
      'content-type': 'application/json; charset=utf-8',
      date: 'Fri, 03 Jul 2020 16:37:20 GMT',
      'x-pd-status': 'sent to primary',
      'x-powered-by': 'Express',
      'content-length': '16',
      connection: 'Close'
    },
    response_body: { success: true }
  },
  {
    request_type: 'outgoing_http_request',
    request_url: 'https://en4tapktc2xtb.x.pipedream.net/test/vm',
    request_method: 'post',
    request_headers: { 'Content-Type': 'application/json;charset=utf-8' },
    request_data: {x: 123, y: "smth"},
    response_status_code: 200,
    response_status_text: 'OK',
    response_headers: {
      'access-control-allow-origin': '*',
      'content-type': 'application/json; charset=utf-8',
      date: 'Fri, 03 Jul 2020 16:37:21 GMT',
      'x-pd-status': 'sent to primary',
      'x-powered-by': 'Express',
      'content-length': '16',
      connection: 'Close'
    },
    response_body: { success: true }
  },
  {
    request_type: 'outgoing_http_request',
    request_url: 'https://en4tapktc2xtb.x.pipedream.net/test/vm',
    request_method: 'post',
    request_headers: { 'Content-Type': 'application/json;charset=utf-8' },
    request_data: {x: 123, y: "smth"},
    response_status_code: 200,
    response_status_text: 'OK',
    response_headers: {
      'access-control-allow-origin': '*',
      'content-type': 'application/json; charset=utf-8',
      date: 'Fri, 03 Jul 2020 16:37:21 GMT',
      'x-pd-status': 'sent to primary',
      'x-powered-by': 'Express',
      'content-length': '16',
      connection: 'Close'
    },
    response_body: { success: true }
  }
]
1.0.80-0

5 days ago

1.0.79-0

8 days ago

1.0.78-0

8 days ago

1.0.77-0

18 days ago

1.0.76-0

22 days ago

1.0.75-0

23 days ago

1.0.74-0

23 days ago

1.0.73-0

24 days ago

1.0.72-0

24 days ago

1.0.71-0

1 month ago

1.0.70-0

1 month ago

1.0.69-0

1 month ago

1.0.67-0

1 month ago

1.0.68-0

1 month ago

1.0.66-0

1 month ago

1.0.65-0

1 month ago

1.0.63-0

2 months ago

1.0.61-0

2 months ago

1.0.62-0

2 months ago

1.0.60-0

2 months ago

1.0.59-0

2 months ago

1.0.58-0

2 months ago

1.0.56-0

2 months ago

1.0.57-0

2 months ago

1.0.55-0

2 months ago

1.0.54-0

2 months ago

1.0.53-0

2 months ago

1.0.52-0

2 months ago

1.0.50-0

2 months ago

1.0.49-0

2 months ago

1.0.51-0

2 months ago

1.0.48-0

2 months ago

1.0.46-0

3 months ago

1.0.47-0

3 months ago

1.0.45-0

3 months ago

1.0.44-0

3 months ago

1.0.43-0

3 months ago

1.0.42-0

3 months ago

1.0.40-0

3 months ago

1.0.41-0

3 months ago

1.0.39-0

3 months ago

1.0.38-0

3 months ago

1.0.37-0

3 months ago

1.0.36-0

3 months ago

1.0.35-0

3 months ago

1.0.34-0

3 months ago

1.0.33-0

4 months ago

1.0.32-0

4 months ago

1.0.31-0

4 months ago

1.0.30-0

4 months ago

1.0.29-0

5 months ago

1.0.28-0

6 months ago

1.0.27-0

6 months ago

1.0.26-0

6 months ago

1.0.25-0

6 months ago

1.0.24-0

6 months ago

1.0.23-0

7 months ago

1.0.22-0

7 months ago

1.0.21-0

7 months ago

1.0.20-0

7 months ago

1.0.19-0

7 months ago

1.0.18-0

8 months ago

1.0.17-0

8 months ago

1.0.16-0

8 months ago

1.0.15-0

8 months ago

1.0.14-0

8 months ago

1.0.13-0

9 months ago

1.0.12-0

9 months ago

1.0.11-0

9 months ago

1.0.10-0

9 months ago

1.0.9-0

9 months ago

1.0.7-0

10 months ago

1.0.6-0

10 months ago

1.0.4-0

10 months ago

1.0.3-0

10 months ago

1.0.2-0

10 months ago

1.0.1-0

10 months ago