Paraphrasing and Rewriter API

フリーミアム
よって NeuralWriter | 更新済み vor 5 Tagen | Text Analysis
人気

9.7 / 10

レイテンシー

2,640ms

サービスレベル

65%

Health Check

N/A

すべてのディスカッションに戻る

400 bad request

Rapid account: Hooperlornelge 4 N
hooperlornelge4n
vor einem Monat

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 vor einem Monat

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."}'
	```

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿