RapidAPI logo

Sign Up

Log In

Text-Processing

FREEMIUM
By japerk
Updated 2 months ago
Other
9.5/10
Popularity Score
293ms
Latency
33%
Success Rate
cemdev5 years ago
403 ForbiddenI'm getting a 403 forbidden error on what looks like all queries to this API now. Was running fine. Request headers tell me I still have 42k of 45k requests left.
japerk5 years ago
Sorry I didn't see this before, I think it has to do with Mashape's latest upgrade. You'll need to upgrade your client library to use Unirest, and make sure you're using the right keys. If you've done this and are still getting 403's, please let me know.
edwinvm5 years ago
I came to the support page for this same issue. All of the sudden I'm getting 403 forbidden errors in my application. I noticed the API key on the documentation page (after logging in) has been changed, however even with the new key I keep getting forbidden errors. The test console on the documentation page for testing the endpoints also return a 403 forbidden in the browser.
Hi Developer, feel free to post your answer:
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://japerk-text-processing.p.rapidapi.com/phrases/")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("language=undefined")
.send("text=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication