Create a task (2Captcha in.php), form parameters
curl --request POST \
--url https://api.safeconduct.ai/in.php \
--header 'Content-Type: application/x-www-form-urlencoded'import requests
url = "https://api.safeconduct.ai/in.php"
payload = {}
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({})
};
fetch('https://api.safeconduct.ai/in.php', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.safeconduct.ai/in.php"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<string>2Captcha format
Create a task (2Captcha in.php), form parameters
method=userrecaptcha (googlekey, pageurl, version, enterprise, invisible, action, min_score, data-s, userAgent) or method=turnstile (sitekey, pageurl, action, data, pagedata, userAgent); proxy and proxytype for either.
POST
/
in.php
Create a task (2Captcha in.php), form parameters
curl --request POST \
--url https://api.safeconduct.ai/in.php \
--header 'Content-Type: application/x-www-form-urlencoded'import requests
url = "https://api.safeconduct.ai/in.php"
payload = {}
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({})
};
fetch('https://api.safeconduct.ai/in.php', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.safeconduct.ai/in.php"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<string>Body
application/x-www-form-urlencodedmultipart/form-data
The body is of type object.
Response
Always 200: plain text (OK|..., CAPCHA_NOT_READY, ERROR_...) or, with json=1, {status, request[, useragent, price, error_text]}
The response is of type string.