RapidAPI logo

Sign Up

Log In

cloudwire Short Code SMS MMS

FREE
By cloudwire
Updated 3 months ago
-/10
Popularity Score
-
Latency
-
Success Rate
Discussions
Hi Developer, feel free to ask your question:
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://cloudwire-short-code-sms-mms.p.rapidapi.com/account/store/keyword/delete")
.header("X-RapidAPI-Host", "cloudwire-short-code-sms-mms.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("authorization", "Bearer TOKEN (Your JWT Token)")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication