RapidAPI logo

HTTP Messaging

FREE
By talya.mizrahi
Updated 4 months ago
Communication
-/10
Popularity Score
-
Latency
-
Success Rate

HTTP Messaging API Documentation

The HTTP API is used to send simple SMS text messages by posting the message content and recipient information in a long URL.

View API Details
POST/jsp/receiveSMS.jsp
POST/jsp/receiveSMS.jsp

The HTTP API is used to send simple SMS text messages by posting the message content and recipient information in a long URL

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
useridSTRING
REQUIREDTeleMessage Account username
passwordSTRING
REQUIREDTeleMessage Account password
toSTRING
REQUIREDmobile destination number in international format
textSTRING
REQUIREDmessage body
Code Snippet
unirest.post("talya-mizrahi-http-v1.p.rapidapi.com/jsp/receiveSMS.jsp")
.header("X-RapidAPI-Host", "talya-mizrahi-http-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://talya-mizrahi-http-v1.p.rapidapi.com/jsp/receiveSMS.jsp
Request Method: POST
Response Headers
Response Body
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("talya-mizrahi-http-v1.p.rapidapi.com/jsp/receiveSMS.jsp")
.header("X-RapidAPI-Host", "talya-mizrahi-http-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.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