14,959
edits
(How to resolve Error 400 Bad Request Errors: UTF-8 Character Encoding Issues) |
|||
| Line 141: | Line 141: | ||
* Instead of relying on the cURL command, switching to a JavaScript-based crawler is recommended as a solution to this problem <ref>[https://www.zenrows.com/blog/cloudflare-error-1010#how-to-avoid Cloudflare Error 1010: What Is It and How to Avoid - ZenRows]</ref>. | * Instead of relying on the cURL command, switching to a JavaScript-based crawler is recommended as a solution to this problem <ref>[https://www.zenrows.com/blog/cloudflare-error-1010#how-to-avoid Cloudflare Error 1010: What Is It and How to Avoid - ZenRows]</ref>. | ||
== How to resolve | == How to resolve 400 Bad Request Errors: UTF-8 Character Encoding Issues == | ||
'''Problem Analysis:''' | '''Problem Analysis:''' | ||
Example cURL command | Example cURL command with error: | ||
<pre> | <pre> | ||
$ curl "https://api.search.brave.com/res/v1/web/search?q=\"XXX\"+公司簡介+產品+服務" \ | $ curl "https://api.search.brave.com/res/v1/web/search?q=\"XXX\"+公司簡介+產品+服務" \ | ||