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

@techcityventures/network-requests

Package Overview
Dependencies
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@techcityventures/network-requests

The default package to perform requests between TCV frontend and backend.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
4
Weekly downloads
 
Created
Source

Network Requests

The default package to perform requests between TCV frontend and backend.

Install

npm install --save @techcityventures/network-requests

Usage

// general import
const requests = require("@techcityventures/notifications-backend")

// specific import
const { GET, POST, PUT, PATCH, DELETE } = require("@techcityventures/notifications-backend")


// usage
const url = projectSpecificUrl

//  get will pass the params into the query
GET({ url, data:{ userId:"XXX", limit:10, param1: "YYY" } })

// post, put, patch, delete will transmit the parameters as json
POST({ url, data:{ userId:"XXX", limit:10, param1: "YYY" } })

PUT({ url, data:{ userId:"XXX", limit:10, param1: "YYY" } })

PATCH({ url, data:{ userId:"XXX", limit:10, param1: "YYY" } })

DELETE({ url, data:{ userId:"XXX", limit:10, param1: "YYY" } })

FAQs

Package last updated on 22 Sep 2020

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