Skip to content

Composer Interface

Composer is an HTTP request construction tool provided by Whistle. It can be used to quickly create, modify, and send custom requests. Its main purpose is to quickly edit captured data and simulate requests, meeting the needs of quickly locating interface issues during joint debugging.

Composer Interface

Right-click the send button:

Right-click the send button
ComponentFunction
History ButtonShow or hide history
Select MethodSelect the request method, supporting various methods such as GET/POST/PUT
URL Input BoxEdit or input the request URL
ParamsAdd, modify, or delete request parameters
Send ButtonExecute the current request
Send Body Via FileLoad request content from a local file for sending large request content
Replay TimesSet the number of replays, up to 100 times
Show HistoryShow history, same function as the icon button on the left
RulesWhether to enable the rules in the input box below
WhistleWhether to enable the rules configured in Whistle
PrettyFormat and display content
BodyWhether to include the request body (methods like GET/HEAD/OPTIONS will automatically ignore the request body)
HTTP/2Whether to use the HTTP/2 protocol
ImportImport request data
ExportExport request data
AsCURLGenerate executable cURL commands
Rule Input BoxCustom rules, only effective for the currently constructed request
Request HeadersCustom request headers
Request ContentCustom request content

Saving Request/Response Data

  1. Automatically saved to Composer history when sending (up to 64 records saved)
  2. Right-click the captured data in the packet capture list and click Save to save