Expand description
Builder for the CAPTCHA solve endpoint.
https://api.mangadex.org/docs/swagger.html#/Captcha/post-captcha-solve
Captchas can be solved explicitly through this endpoint, another way is to add a
X-Captcha-Result
header to any request.
The same logic will verify the captcha and is probably more convenient because it takes one less request.
Authentication is optional. Captchas are tracked for both the client IP and for the user ID, if you are logged in, you want to send your session token but that is not required.
§Examples
use mangadex_api::v5::MangaDexClient;
let client = MangaDexClient::default();
let captcha_res = client
.captcha()
.solve()
.post()
.captcha_challenge("specialchallengetoken")
.send()
.await?;
println!("captcha solve: {:?}", captcha_res);
Structs§
- Mark a chapter as read for the current user.
- Builder for
SolveCaptcha
.