{"id":28386,"date":"2026-11-21T19:01:27","date_gmt":"2026-11-21T19:01:27","guid":{"rendered":"https:\/\/capskip.com\/?p=28386"},"modified":"2026-11-21T19:01:27","modified_gmt":"2026-11-21T19:01:27","slug":"geetest-v4-nodejs","status":"publish","type":"post","link":"https:\/\/capskip.com\/zh\/geetest-v4-nodejs\/","title":{"rendered":"Node.js \u4e2d\u7684 GeeTest v4\uff1a\u7528 fetch \u548c\u7c7b\u578b\u6279\u91cf\u6ce8\u518c"},"content":{"rendered":"<p>To solve GeeTest v4 in Node.js without a browser, read the captcha_id from the page once, call solver.geetestV4() from the capskip package with that id and the page address, and send the five fields it returns under the same names in the request the page makes itself. The script below does that for six sign-ups with the built-in fetch, one fresh solve per submission, and ends with Promise.allSettled. The tasks are solved by the <a href=\"https:\/\/capskip.com\/geetest-v4-solver\/\">CapSkip GeeTest v4 solver<\/a> on your own Windows PC, with no fee per solve.<\/p>\n<h2 style=\"font-size:1.6rem;line-height:1.35;\">What you need<\/h2>\n<ul>\n<li>A Windows machine with CapSkip 5.0.0 or a later version, the first release that solves GeeTest v4 according to the changelog.<\/li>\n<li>Node.js 18 or newer, which is what the engines field of capskip 1.8.0 declares. That is the first SDK version with geetestV4(). My runs covered 20.11.1, 24.22.0 and 25.2.1, so I never ran Node.js 18 itself.<\/li>\n<li>TypeScript, but only for the optional type check. At the time of writing npm resolved typescript 7.0.2, which declares Node.js 16.20 or later, and @types\/node 26.6.6.<\/li>\n<li>A sign-up or login page with a GeeTest v4 widget that you may automate.<\/li>\n<li>An address for CapSkip. Local mode keeps it on 127.0.0.1. Server mode also accepts connections from your network or a public IP, and the Connection Settings section of the <a href=\"https:\/\/capskip.com\/setup-guide\/#connection-settings\">setup guide<\/a> describes both modes.<\/li>\n<\/ul>\n<p>Every run below used two small servers I wrote, one imitating the CapSkip API and one imitating a sign-up page, which makes the site rules mine. The real CapSkip app wasn&#8217;t answering on this PC when I tested, so I sent it nothing, and no GeeTest site saw a request. Where a claim rests on the CapSkip docs, the SDK source or the GeeTest docs instead of a run, I say so. A real site checks the five fields on its own server, with its private key, through the GeeTest <a href=\"https:\/\/docs.geetest.com\/gt4\/apirefer\/api\/server\" rel=\"noopener nofollow\" target=\"_blank\">server validation API<\/a>.<\/p>\n<h2 style=\"font-size:1.6rem;line-height:1.35;\">Step 1: set up the folder<\/h2>\n<p>Run the first block in an empty folder. It creates package.json, installs capskip and adds TypeScript for the type check. Save the tsconfig block as tsconfig.json. Then save the four JavaScript blocks of Steps 2 to 5, in order, as one file named geetest_v4.mjs. The .mjs extension allows top-level await. Before the first run, change ORIGIN, the two paths and the emails to your own site. Left as they are, the script asks example.com and stops with &quot;the page answered HTTP 404&quot;.<\/p>\n<div data-no-translation>\n<pre data-enlighter-language=\"bash\" class=\"EnlighterJSRAW\"># Run in an empty folder, in PowerShell or any other shell\nnpm init -y\nnpm install capskip\nnpm install --save-dev typescript @types\/node<\/pre>\n<\/div>\n<div data-no-translation>\n<pre data-enlighter-language=\"json\" class=\"EnlighterJSRAW\">{\n  &quot;compilerOptions&quot;: {\n    &quot;target&quot;: &quot;es2022&quot;,\n    &quot;module&quot;: &quot;node16&quot;,\n    &quot;moduleResolution&quot;: &quot;node16&quot;,\n    &quot;allowJs&quot;: true,\n    &quot;checkJs&quot;: true,\n    &quot;noEmit&quot;: true,\n    &quot;strict&quot;: true,\n    &quot;skipLibCheck&quot;: true,\n    &quot;types&quot;: [&quot;node&quot;]\n  },\n  &quot;files&quot;: [&quot;geetest_v4.mjs&quot;]\n}<\/pre>\n<\/div>\n<p>With this file, tsc reads the script as typed JavaScript. The package ships GeetestV4Options and a SolveResult whose five GeeTest fields are optional, so Step 3 has a guard.<\/p>\n<h2 style=\"font-size:1.6rem;line-height:1.35;\">Step 2: read the captcha_id once<\/h2>\n<p>The page passes the id to initGeetest4 as captchaId, and the request to gcaptcha4.geetest.com\/load carries it as captcha_id, according to the CapSkip <a href=\"https:\/\/capskip.com\/api-docs\/#geetest-v4\">GeeTest v4 API docs<\/a>. It is the same for every visitor, so readCaptchaId keeps its promise in a variable and fetches the page once per run, however many submissions follow. It collects every match in a Set and refuses to guess: two different ids, or none, make every submission fail before any solve is bought. It also caches a rejected promise, so one page timeout fails the whole run.<\/p>\n<div data-no-translation>\n<pre data-enlighter-language=\"js\" class=\"EnlighterJSRAW\">\/\/ @ts-check\n\/\/ npm install capskip\nimport {\n  CapSkip, ApiException, NetworkException, TimeoutException, ValidationException,\n} from &quot;capskip&quot;;\n\nconst ORIGIN = &quot;https:\/\/example.com&quot;;\nconst PAGE_URL = `${ORIGIN}\/signup`; \/\/ the page that shows the widget\nconst API_URL = `${ORIGIN}\/api\/signup`; \/\/ where the page's own submit sends its JSON\n\n\/\/ Local mode. In Server mode, use the address of the PC that runs CapSkip.\nconst solver = new CapSkip({ host: &quot;127.0.0.1&quot;, port: 8080 });\n\n\/** @type {Promise&lt;string&gt; | undefined} *\/\nlet idRead;\n\n\/\/ The captcha_id is the same for every visitor, so read it once per run.\nfunction readCaptchaId() {\n  idRead ??= (async () =&gt; {\n    const res = await fetch(PAGE_URL, { signal: AbortSignal.timeout(10_000) });\n    if (!res.ok) throw new Error(`the page answered HTTP ${res.status}`);\n    const html = await res.text();\n    const pattern = \/captchaId[&quot;']?\\s*:\\s*[&quot;']([0-9a-f]{32})[&quot;']|[?&amp;]captcha_id=([0-9a-f]{32})\/gi;\n    const ids = new Set([...html.matchAll(pattern)].map((m) =&gt; (m[1] ?? m[2]).toLowerCase()));\n    if (ids.size !== 1) throw new Error(`expected one captcha_id in the page, found ${ids.size}`);\n    return [...ids][0];\n  })();\n  return idRead;\n}<\/pre>\n<\/div>\n<p>On my mock page the id came out right when the page wrote it with double quotes, with single quotes and the key on its own line, as a quoted key in a JSON-style object, and in the load URL. A page with an older id left in a comment beside the real one stopped with &quot;found 2&quot;, and a page whose script builds the id elsewhere stopped with &quot;found 0&quot;. The pattern expects 32 hexadecimal characters, like the ids in the docs.<\/p>\n<h2 style=\"font-size:1.6rem;line-height:1.35;\">Step 3: ask for the five fields with typed options<\/h2>\n<p>The call is solver.geetestV4(captchaId, url, options). It submits a task, polls for the result and resolves to an object. The API docs say res.php sends the five values as one JSON string in its request field, which is why code is a string: the SDK parses it a second time and copies captcha_id, lot_number, pass_token, gen_time and captcha_output onto the result, plus isOffline when GeeTest couldn&#8217;t be reached. Per the SDK source, a string that doesn&#8217;t parse leaves the result unexpanded and raises no error, so fiveFields throws unless all five are present.<\/p>\n<div data-no-translation>\n<pre data-enlighter-language=\"js\" class=\"EnlighterJSRAW\">\/** @typedef {&quot;slide&quot; | &quot;icon&quot; | &quot;nine&quot; | &quot;word&quot; | &quot;phrase&quot; | &quot;match&quot; | &quot;winlinze&quot; | &quot;svg_seed&quot; | &quot;svg_icon&quot; | &quot;ai&quot;} RiskType *\/\n\nconst NAMES = \/** @type {const} *\/ ([&quot;captcha_id&quot;, &quot;lot_number&quot;, &quot;pass_token&quot;, &quot;gen_time&quot;, &quot;captcha_output&quot;]);\n\n\/\/ All five fields or an error: the SDK hands back an answer it cannot parse untouched.\n\/** @param {import(&quot;capskip&quot;).SolveResult} result *\/\nfunction fiveFields(result) {\n  \/** @type {Record&lt;string, string&gt;} *\/\n  const fields = {};\n  for (const name of NAMES) {\n    if (!result[name]) {\n      throw new Error(`the answer has no ${name}; code starts: ${String(result.code).slice(0, 40)}`);\n    }\n    fields[name] = String(result[name]);\n  }\n  return { fields, offline: result.isOffline === true };\n}\n\n\/** @param {RiskType} [riskType] *\/\nasync function solveOnce(riskType) {\n  \/** @type {import(&quot;capskip&quot;).GeetestV4Options &amp; { riskType?: RiskType }} *\/\n  const options = { timeout: 60, polling_interval: 2 }; \/\/ both in seconds\n  if (riskType) options.riskType = riskType;\n  const result = await solver.geetestV4(await readCaptchaId(), PAGE_URL, options);\n  return fiveFields(result);\n}<\/pre>\n<\/div>\n<p>Two names look alike. captcha_id is the widget id that GeeTest echoes back, and it is the one to send. captchaId is the id CapSkip gave the task. The result carries both, and the SDK example prints captchaId under the label Captcha ID. On my mock the task id was 102, and posting it as captcha_id was refused.<\/p>\n<p>The docs list ten values for riskType: slide, icon, nine, word, phrase, match, winlinze, svg_seed, svg_icon and ai. GeeTest applies one only where the site allows it, and the site&#8217;s own choice usually wins, so I couldn&#8217;t test the effect. The SDK&#8217;s own definition types riskType as a plain string, and at run time the SDK checks only that it is a string, so a typo travels on: my mock received risk_type slid untouched. The RiskType typedef catches it, and tsc rejected the call with error TS2345. It can&#8217;t catch a misspelt option name, because the options type allows other keys. An option called risktype compiled, then the SDK refused it at run time as an unsupported parameter.<\/p>\n<p>The timeout and polling_interval options are in seconds. Without timeout the client default of 300 seconds applies, and the SDK takes no AbortSignal, so set timeout instead of racing a signal: the polling stops with it. The SDK checks the deadline only when the next poll is due. Against a mock that never answered, timeout 5 ended after 7.9 seconds with the default interval of 5, and after 5.9 with polling_interval 2. A tight timeout can also lose a finished answer, as the table below shows. Leave room for the solve plus one interval. AsyncCapSkip is the same class under another name, since every method already returns a promise.<\/p>\n<p>The proxy option takes a string or an object with type and uri. With a string, proxytype defaults to HTTP, and my mock saw the object form arrive as a proxy value plus proxytype SOCKS5. It reaches the CapSkip solve only, and my fetch calls don&#8217;t use it. The CapSkip docs advise a proxy pool beyond occasional solves. I tested no real proxy.<\/p>\n<p>Eleven mistakes were refused by the SDK with ValidationException before anything reached my mock&#8217;s in.php: no captcha id, a missing, relative or ftp page address, the v3 parameters gt and challenge, a userAgent option, an unknown option name, a number as riskType, proxytype SOCKS4 and a proxy object without uri. The userAgent refusal is worth knowing, because the MTCaptcha and Yandex SmartCaptcha methods accept one and GeeTest v4 doesn&#8217;t. The docs say the app answers ERROR_BAD_PARAMETERS for a missing captcha_id or an unsupported proxytype and ERROR_PAGEURL for a missing or malformed page address. For the other refusals the docs say nothing, and the SDK stops them first.<\/p>\n<h2 style=\"font-size:1.6rem;line-height:1.35;\">Step 4: send the five fields as JSON<\/h2>\n<p>The CapSkip docs say to send the fields under those names in the request the page&#8217;s own submit makes, unchanged, and to solve again for every submission. My mock page submits JSON with the email and the five fields, so submit does the same. If your page sends a form, replace the body with new URLSearchParams and drop the content type header.<\/p>\n<div data-no-translation>\n<pre data-enlighter-language=\"js\" class=\"EnlighterJSRAW\">\/**\n * @param {string} email\n * @param {RiskType} [riskType]\n *\/\nasync function submit(email, riskType) {\n  const { fields, offline } = await solveOnce(riskType); \/\/ one solve per submission\n  const res = await fetch(API_URL, {\n    method: &quot;POST&quot;,\n    \/\/ fetch adds no Origin or Referer by itself, and a CSRF check may want them.\n    headers: { &quot;Content-Type&quot;: &quot;application\/json&quot;, Origin: ORIGIN, Referer: PAGE_URL },\n    body: JSON.stringify({ email, ...fields }),\n    signal: AbortSignal.timeout(10_000),\n  });\n  const body = (await res.text()).slice(0, 60);\n  if (!res.ok) throw new Error(`HTTP ${res.status} ${body}`);\n  return `${email}: HTTP ${res.status}${offline ? &quot; (offline pass)&quot; : &quot;&quot;}`;\n}<\/pre>\n<\/div>\n<p>The two headers matter because fetch adds neither Origin nor Referer. With both headers removed my mock answered all six submissions with 403 and a csrf error, after six solves had been spent. With only one of the two it accepted them. That is my mock&#8217;s rule and your site has its own, so send one trial submission before a batch.<\/p>\n<p>Never reuse an answer. When I sent the same five fields twice, my mock answered 200 and then 403 with captcha used. Whether GeeTest itself accepts a replay, I couldn&#8217;t test.<\/p>\n<p>The isOffline flag is for the case where GeeTest itself couldn&#8217;t be reached. The docs say the widget then passes without a challenge, the answer carries isOffline set to true, and the site decides on its server whether to accept it. The setup guide explains an Offline pass label in the Monitor tab, and submit adds the words offline pass to its result line. With every second answer offline, a mock site that refuses offline passes took three of six, and one that accepts them took all six.<\/p>\n<h2 style=\"font-size:1.6rem;line-height:1.35;\">Step 5: GeeTest v4 in Node.js with Promise.allSettled<\/h2>\n<p>The setup guide says CapSkip solves only as many tasks of one type at once as its Max. Threads setting allows. The others wait for a free thread for up to Wait Timeout seconds, and your call timeout keeps running meanwhile. The loop below sends WAVE submissions, waits for all of them with Promise.allSettled and starts the next wave. allSettled never rejects, so the script sets the exit code itself, and describe turns each of the four SDK exception classes into one line.<\/p>\n<div data-no-translation>\n<pre data-enlighter-language=\"js\" class=\"EnlighterJSRAW\">const WAVE = 3; \/\/ keep this at or below Max. Threads for GeeTest in CapSkip\n\n\/** @param {unknown} err *\/\nfunction describe(err) {\n  if (err instanceof ValidationException) return `refused before sending: ${err.message}`;\n  if (err instanceof TimeoutException) return `no answer in time: ${err.message}`;\n  if (err instanceof NetworkException) return `CapSkip not reachable: ${err.message}`;\n  if (err instanceof ApiException) return `CapSkip error: ${err.message}`;\n  return err instanceof Error ? err.message : String(err);\n}\n\nconst emails = [\n  &quot;ann@example.com&quot;, &quot;bob@example.com&quot;, &quot;cy@example.com&quot;,\n  &quot;dee@example.com&quot;, &quot;eli@example.com&quot;, &quot;fay@example.com&quot;,\n];\n\n\/** @type {PromiseSettledResult&lt;string&gt;[]} *\/\nconst settled = [];\nfor (let i = 0; i &lt; emails.length; i += WAVE) {\n  const wave = emails.slice(i, i + WAVE).map((email) =&gt; submit(email));\n  settled.push(...(await Promise.allSettled(wave)));\n}\n\nsettled.forEach((s, i) =&gt; {\n  console.log(s.status === &quot;fulfilled&quot; ? `ok   ${s.value}` : `FAIL ${emails[i]}: ${describe(s.reason)}`);\n});\nprocess.exitCode = settled.every((s) =&gt; s.status === &quot;fulfilled&quot;) ? 0 : 1;<\/pre>\n<\/div>\n<p>Check the types, then run it. It prints one line per email.<\/p>\n<div data-no-translation>\n<pre data-enlighter-language=\"bash\" class=\"EnlighterJSRAW\"># Check the types, then run the script\nnpx tsc\nnode geetest_v4.mjs<\/pre>\n<\/div>\n<p>These rows are mock results from Node.js 24.22.0 on Windows 11 with capskip 1.8.0, timed from process start to exit. The counts matched on 20.11.1 and 25.2.1, and timings agreed within 0.3 seconds.<\/p>\n<table>\n<thead>\n<tr>\n<th>Mock setting<\/th>\n<th>What the script did<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Six submissions, solve 2 seconds, 3 slots; WAVE 3, 6 or 1<\/td>\n<td>Six in each case, in 7.7, 5.9 and 22.9 seconds; at most 3, 3 and 1 task at once<\/td>\n<\/tr>\n<tr>\n<td>Call timeout 4, polling_interval 1, solve 2 seconds, 3 slots; WAVE 3 or 6<\/td>\n<td>WAVE 3: six in, 5.7 seconds. WAVE 6: three in, three &quot;timeout 4 exceeded&quot; at 4.9<\/td>\n<\/tr>\n<tr>\n<td>Solve 2 seconds, timeout 3; polling_interval 2 or 1<\/td>\n<td>2: all three &quot;timeout 3 exceeded&quot; at 3.9 seconds. 1: all three in, 2.9 seconds<\/td>\n<\/tr>\n<tr>\n<td>Answer never ready, timeout 5; polling_interval 5, 2 or 1<\/td>\n<td>TimeoutException after 7.9, 5.9 and 5.9 seconds<\/td>\n<\/tr>\n<tr>\n<td>Origin and Referer headers removed<\/td>\n<td>Six refused with 403 csrf, after six solves were spent<\/td>\n<\/tr>\n<tr>\n<td>The same five fields sent twice<\/td>\n<td>200, then 403 &quot;captcha used&quot;<\/td>\n<\/tr>\n<tr>\n<td>Every second answer offline; the site refuses or accepts offline passes<\/td>\n<td>Three in and three refused, or all six in<\/td>\n<\/tr>\n<tr>\n<td>The answer is not JSON, or lot_number is missing<\/td>\n<td>Six guard errors and no request to the site<\/td>\n<\/tr>\n<tr>\n<td>The first two tasks end in ERROR_CAPTCHA_UNSOLVABLE<\/td>\n<td>Two FAIL lines, four in<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Waves cost time when the timeout is generous: six submissions at once took 5.9 seconds against 7.7 for waves of three, because a wave waits for its slowest member before the next one starts. They pay off when the call timeout is tight, as the second row shows. With a timeout of 4 seconds, the three tasks that queued behind a full house ran out of time. The third row is the lost answer: the mock had it at 2 seconds, but the last poll came at 1.8 seconds and the next was due at 3.8, past the deadline. Keep WAVE at or below the Max. Threads value of the GeeTest row in CapSkip.<\/p>\n<h2 style=\"font-size:1.6rem;line-height:1.35;\">Common errors<\/h2>\n<p>Unless a row says seen, it comes from the CapSkip <a href=\"https:\/\/capskip.com\/api-docs\/#geetest-v4\">GeeTest v4 API docs<\/a>.<\/p>\n<table>\n<thead>\n<tr>\n<th>Error<\/th>\n<th>Cause<\/th>\n<th>Fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>ValidationException<\/td>\n<td>Refused inside the SDK, nothing sent (seen, eleven cases)<\/td>\n<td>Read the message<\/td>\n<\/tr>\n<tr>\n<td>ERROR_BAD_PARAMETERS<\/td>\n<td>Per the docs: no captcha_id, or a proxytype that is not accepted<\/td>\n<td>The SDK refuses both first<\/td>\n<\/tr>\n<tr>\n<td>ERROR_PAGEURL<\/td>\n<td>Per the docs: the page address is missing or malformed<\/td>\n<td>Pass the full page address<\/td>\n<\/tr>\n<tr>\n<td>ERROR_PROXY_FORMAT<\/td>\n<td>Per the docs: a proxy value CapSkip can&#8217;t parse<\/td>\n<td>Use IP:PORT or login:password@IP:PORT<\/td>\n<\/tr>\n<tr>\n<td>ERROR_CAPTCHA_UNSOLVABLE<\/td>\n<td>Per the docs: the task couldn&#8217;t be solved. My mock produced it for two tasks<\/td>\n<td>Run the failed emails again<\/td>\n<\/tr>\n<tr>\n<td>ERROR_KEY_DOES_NOT_EXIST<\/td>\n<td>API Key Validation is on. Without apiKey the SDK sent the key capskip, and my mock refused it<\/td>\n<td>Pass your key as apiKey<\/td>\n<\/tr>\n<tr>\n<td>TimeoutException<\/td>\n<td>No answer within timeout (seen)<\/td>\n<td>Raise timeout or lower polling_interval<\/td>\n<\/tr>\n<tr>\n<td>NetworkException<\/td>\n<td>connect ECONNREFUSED when nothing listened (seen)<\/td>\n<td>Start CapSkip, check host and port<\/td>\n<\/tr>\n<tr>\n<td>HTTP 403 from the site<\/td>\n<td>The site&#8217;s own rule: headers, a used answer or an offline pass<\/td>\n<td>Compare with the page&#8217;s own request<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"font-size:1.6rem;line-height:1.35;\">FAQ<\/h2>\n<details style=\"border:1px solid #e2e5ee;border-radius:10px;padding:14px 18px;margin:0 0 12px;\">\n<summary style=\"cursor:pointer;\">\n<h3 style=\"font-size:1.15rem;line-height:1.4;display:inline;margin:0;\">Can I run the script on a different PC from CapSkip?<\/h3>\n<\/summary>\n<p style=\"margin:12px 0 0;\">Yes. Put CapSkip in Server mode and set the host option to the address of its PC, which is the only line that changes. The setup guide notes that Server mode needs administrator rights. My advice, not a setup guide claim: assume the port is open to every address in Server mode, add a Windows Firewall block rule for the machines you don&#8217;t expect, and turn on API Key Validation so each call must carry a key.<\/p>\n<\/details>\n<details style=\"border:1px solid #e2e5ee;border-radius:10px;padding:14px 18px;margin:0 0 12px;\">\n<summary style=\"cursor:pointer;\">\n<h3 style=\"font-size:1.15rem;line-height:1.4;display:inline;margin:0;\">Can one solve serve several submissions?<\/h3>\n<\/summary>\n<p style=\"margin:12px 0 0;\">No. The docs say to solve again for every submission, and my mock refused a replay.<\/p>\n<\/details>\n<details style=\"border:1px solid #e2e5ee;border-radius:10px;padding:14px 18px;margin:0 0 12px;\">\n<summary style=\"cursor:pointer;\">\n<h3 style=\"font-size:1.15rem;line-height:1.4;display:inline;margin:0;\">Does this work on a page that hands out gt and a challenge?<\/h3>\n<\/summary>\n<p style=\"margin:12px 0 0;\">No, that is GeeTest v3, and the SDK refuses gt and challenge in a v4 call. For that generation, follow the <a href=\"https:\/\/capskip.com\/geetest-v3-nodejs\/\">GeeTest v3 guide for Node.js<\/a>.<\/p>\n<\/details>\n<p>GeeTest v4 in Node.js comes down to one id read per run, one solve per submission and five fields copied under their own names. A refused submission or a second solve never reaches a bill, since this <a href=\"https:\/\/capskip.com\/\">local captcha solver<\/a> runs on your own PC. The <a href=\"https:\/\/capskip.com\/nodejs-captcha-solver\/\">Node.js CAPTCHA solver page<\/a> lists the other CAPTCHA types.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CapSkip \u7528\u4e00\u6b21 geetestV4() \u8c03\u7528\u5c31\u80fd\u8bc6\u522b GeeTest v4\u3002\u8fd9\u4e2a Node.js \u811a\u672c\u53ea\u8bfb\u4e00\u6b21 captcha_id\uff0c\u7136\u540e\u4e3a\u6bcf\u6b21\u6ce8\u518c\u53d1\u9001\u4e94\u4e2a\u5b57\u6bb5\uff0c\u5e76\u4e14\u53ef\u4ee5\u540c\u65f6\u8fdb\u884c\u591a\u4e2a\u3002<\/p>","protected":false},"author":1,"featured_media":28385,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"GeeTest v4 in Node.js: Batch Solves, Typed | CapSkip","rank_math_description":"Solve GeeTest v4 in Node.js with the capskip SDK and fetch: read the captcha_id once, send the five fields as JSON and run several sign-ups together.","rank_math_focus_keyword":"geetest v4 in node.js","footnotes":""},"categories":[70],"tags":[],"class_list":["post-28386","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-captcha"],"_links":{"self":[{"href":"https:\/\/capskip.com\/zh\/wp-json\/wp\/v2\/posts\/28386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/capskip.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/capskip.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/capskip.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/capskip.com\/zh\/wp-json\/wp\/v2\/comments?post=28386"}],"version-history":[{"count":1,"href":"https:\/\/capskip.com\/zh\/wp-json\/wp\/v2\/posts\/28386\/revisions"}],"predecessor-version":[{"id":28500,"href":"https:\/\/capskip.com\/zh\/wp-json\/wp\/v2\/posts\/28386\/revisions\/28500"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/capskip.com\/zh\/wp-json\/wp\/v2\/media\/28385"}],"wp:attachment":[{"href":"https:\/\/capskip.com\/zh\/wp-json\/wp\/v2\/media?parent=28386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/capskip.com\/zh\/wp-json\/wp\/v2\/categories?post=28386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/capskip.com\/zh\/wp-json\/wp\/v2\/tags?post=28386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}