---
title: "HTTP 請求建構器 - 免費線上工具 - AllTools - 全能工具箱"
description: "視覺化建構並傳送 HTTP 請求，設定方法、參數、請求標頭與驗證授權，檢視完整回應並產生 curl 指令分享。便於重現 API 呼叫、排查聯合除錯問題並與團隊共享請求。AllTools 提供免費線上工具，開啟網頁即可使用，無需安裝或登入，資料在瀏覽器本機處理。"
canonical_url: "https://tool.warmday.wang/zh-Hant/dev/http-request"
meta:
  author: AllTools
  keywords: "線上工具箱, AllTools, 實用工具, 生活常用, 數學計算, 文字處理, 圖片處理, 開發者工具, PDF 工具, 單位換算, 免費工具, 免登入工具"
  "og:description": "視覺化建構並傳送 HTTP 請求，設定方法、參數、請求標頭與驗證授權，檢視完整回應並產生 curl 指令分享。便於重現 API 呼叫、排查聯合除錯問題並與團隊共享請求。AllTools 提供免費線上工具，開啟網頁即可使用，無需安裝或登入，資料在瀏覽器本機處理。"
  "og:image": "https://tool.warmday.wang/img/og-cover.png"
  "og:image:alt": "AllTools - 全能工具箱 Logo"
  "og:image:height": "630"
  "og:image:width": "1200"
  "og:title": "HTTP 請求建構器 - 免費線上工具"
  "twitter:image": "https://tool.warmday.wang/img/og-cover.png"
---

> Index of every page on this site: [llms.txt](https://tool.warmday.wang/llms.txt)

# **HTTP 請求建構器**

以視覺化方式建構 HTTP 請求，產生 cURL 指令與 Fetch 程式碼。

## **請求設定**

### **查詢參數**

### **請求標頭**

### **請求主體**

### **驗證**

**驗證類型**

## **cURL 指令**

## **Fetch API 程式碼**

## **Axios 程式碼**

### **使用說明**

#### **請求設定**

選擇 HTTP 方法（GET/POST/PUT/PATCH/DELETE），填寫請求 URL，可新增查詢參數與請求標頭，支援 Bearer Token 與 Basic Auth 驗證方式。

#### **請求主體類型**

支援 JSON、Form Data、Raw Text 三種請求主體類型，選擇「無」則不傳送請求主體。JSON 類型在 Fetch 中會自動使用 JSON.stringify。

#### **程式碼產生**

即時產生 cURL 指令、Fetch API 與 Axios 三種程式碼片段，點選右上角複製按鈕即可一鍵複製。所有產生作業都在本機完成，不會送出任何請求。

## **同類工具**

同一個分類下還有這些 · 開發工具

[**Cron 運算式**視覺化產生 Cron 排程任務運算式，點選分、時、日、月、週欄位並即時預覽未來多次執行時間，適配排程調度。告別手寫五段式語法易錯難題，穩定設定背景任務。](https://tool.warmday.wang/zh-Hant/dev/cron) [**JSON 格式化**JSON 資料美化、壓縮與語法校驗，自動定位括號缺失與逗號錯誤，支援摺疊展開，輔助 API 排查設定整理。適配前後端聯合除錯與設定檔整理，快速排查回應資料結構。](https://tool.warmday.wang/zh-Hant/dev/json) [**時間戳記轉換**Unix 時間戳記與本機日期雙向轉換，支援秒級與毫秒級精度，自動同步目前時間戳記，方便排查日誌時間軸、快取到期與 API 時間欄位問題。](https://tool.warmday.wang/zh-Hant/dev/timestamp) [**正規表達式測試**線上測試正規表達式，輸入文字即時標示符合結果，視覺化展示分組擷取與取代效果，支援 g/i/m 等旗標切換，方便撰寫與除錯複雜正規表達式。](https://tool.warmday.wang/zh-Hant/dev/regex) [**JWT 解析**將 JWT 依 base64url 拆解為 Header、Payload 與 Signature 三段，解碼並展示宣告欄位與到期時間，無需金鑰即可檢視 Token 載荷內容，方便排查 API 驗證授權。](https://tool.warmday.wang/zh-Hant/dev/jwt-parser) [**JWT 產生**線上簽發 JSON Web Token，可自訂 Header 演算法、Payload 宣告與到期時間，支援 HS256、RS256、ES256 等簽章方式，方便聯合除錯驗證授權流程產生測試 Token。](https://tool.warmday.wang/zh-Hant/dev/jwt-generator)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://tool.warmday.wang/#organization","name":"AllTools","alternateName":"AllTools - 全能工具箱","url":"https://tool.warmday.wang/","logo":{"@type":"ImageObject","url":"https://tool.warmday.wang/img/logo.png","width":512,"height":512}},{"@type":"WebSite","@id":"https://tool.warmday.wang/zh-Hant#website","url":"https://tool.warmday.wang/zh-Hant","name":"AllTools - 全能工具箱","inLanguage":"zh-Hant","publisher":{"@id":"https://tool.warmday.wang/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://tool.warmday.wang/zh-Hant?q={search_term_string}"},"query-input":"required name=search_term_string"}},{"@type":"WebPage","@id":"https://tool.warmday.wang/zh-Hant/dev/http-request#webpage","url":"https://tool.warmday.wang/zh-Hant/dev/http-request","isPartOf":{"@id":"https://tool.warmday.wang/zh-Hant#website"},"inLanguage":"zh-Hant","name":"HTTP 請求建構器 - 免費線上工具","description":"視覺化建構並傳送 HTTP 請求，設定方法、參數、請求標頭與驗證授權，檢視完整回應並產生 curl 指令分享。便於重現 API 呼叫、排查聯合除錯問題並與團隊共享請求。AllTools 提供免費線上工具，開啟網頁即可使用，無需安裝或登入，資料在瀏覽器本機處理。"},{"@type":"SoftwareApplication","@id":"https://tool.warmday.wang/zh-Hant/dev/http-request#app","name":"HTTP 請求建構器 - 免費線上工具","description":"視覺化建構並傳送 HTTP 請求，設定方法、參數、請求標頭與驗證授權，檢視完整回應並產生 curl 指令分享。便於重現 API 呼叫、排查聯合除錯問題並與團隊共享請求。AllTools 提供免費線上工具，開啟網頁即可使用，無需安裝或登入，資料在瀏覽器本機處理。","url":"https://tool.warmday.wang/zh-Hant/dev/http-request","applicationCategory":"DeveloperApplication","operatingSystem":"Web","inLanguage":"zh-Hant","isPartOf":{"@id":"https://tool.warmday.wang/zh-Hant/dev/http-request#webpage"},"offers":{"@type":"Offer","price":"0","priceCurrency":"CNY"}},{"@type":"BreadcrumbList","@id":"https://tool.warmday.wang/zh-Hant/dev/http-request#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"首頁","item":"https://tool.warmday.wang/zh-Hant"},{"@type":"ListItem","position":2,"name":"開發工具","item":"https://tool.warmday.wang/zh-Hant/dev"},{"@type":"ListItem","position":3,"name":"HTTP 請求建構器","item":"https://tool.warmday.wang/zh-Hant/dev/http-request"}]}]}
```

## Sitemap

See the full [sitemap](https://tool.warmday.wang/sitemap.md) for all pages.
