New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

appknit-platform-sdk

Package Overview
Dependencies
Maintainers
2
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appknit-platform-sdk

Library for injecting in together with client code in Execution MS

  • 1.0.61-2
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by250%
Maintainers
2
Weekly downloads
 
Created
Source

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 }
  }
]

FAQs

Package last updated on 13 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc