Paraphrasing and Rewriter API

FREEMIUM
Door NeuralWriter | Bijgewerkt a month ago | Text Analysis
Populariteit

9.7 / 10

Latency

3,457ms

Serviceniveau

98%

Health Check

N/A

Terug naar alle discussies

400 bad request

Rapid account: Hooperlornelge 4 N
hooperlornelge4n
15 days ago

I have Pro plan.

My settings:
https://i.postimg.cc/B6VQG1pd/image-2024-05-18-20-17-34.png

Service answer:
Url: https://paraphrasing-and-rewriter-api.p.rapidapi.com/rewrite-medium
Status: 400

server: awselb/2.0
date: Sat, 18 May 2024 17:12:00 GMT
content-type: text/html
content-length: 122

<html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
</body>
</html>

What i do wrong?

Rapid account: Maxfrai
maxfrai Commented 14 days ago

This problem is on rapidapi side, not api. Can you, please, check that request config is similar to example:

curl --request POST \
  --url https://paraphrasing-and-rewriter-api.p.rapidapi.com/rewrite-medium \
  --header 'X-RapidAPI-Host: paraphrasing-and-rewriter-api.p.rapidapi.com' \
  --header 'X-RapidAPI-Key: ***********************' \
  --data '{"from":"en","text":"New York, often called New York City or NYC, is the most populous city in the United States. With a 2020 population of 8,804,190 distributed over 300.46 square miles (778.2 km2), New York City is the most densely populated major city in the United States and more than twice as populous as Los Angeles, the nation'\''s second-largest city."}'
	```

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen