eda_sys_client_url_request
Make URL requests with any HTTP method from EasyEDA Pro to fetch data or interact with APIs. Use custom headers and body content to control the request.
Instructions
sys_ClientUrl.request(url: string, method?: 'GET' | 'POST' | 'HEAD' | 'PUT' | 'DELETE' | 'PATCH', data?: string | Blob | FormData | URLSearchParams, options?: { headers?: { [header: string]: any }; integrity?: string }, succeedCallFn?: (data: Response) => void | Promise) -> Promise 发起即时请求 returns: Fetch 的返回结果
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |