Dad Jokes

フリーミアム
よって KegenGuyll | 更新済み 22 days ago | Entertainment
人気

9.6 / 10

レイテンシー

313ms

サービスレベル

100%

Health Check

100%

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

403 response?

Rapid account: Mr OOF 600
MrOOF600
4 years ago

I tried this code. And i got a 403 response.

Rapid account: Mat Fillion
MatFillion Commented 3 years ago

Can’t be sure it is the case for @promobius but 403: forbidden is returned when you are not subscribed to the endpoint within the rapid-api console. Once subscribed to the free plan it works fine for me.

Rapid account: Promobius
promobius Commented 3 years ago

I also got this. In vs2019 i have copy and pasted your sdk into a class i have named “quotegenerator”. upon doing so i got an error over the “await” operator and it had me change my method from “public static void DadJoke()” to “public static async Task DadJokeAsync()” in my main program i am calling the method via the class “quotegenerator.DadJokeAsync();” the error i get is "response status code does not indicate success: 403 (Forbidden)

Rapid account: Kegen Guyll
KegenGuyll Commented 4 years ago

could you be more specific?

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

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