Const
Performs an HTTP PUT request to the specified URL.
Operation data with response (parsed JSON) and status (HTTP status code)
response
status
const result = await httpPut({ url: 'https://api.example.com/users/123', body: { name: 'John Updated', email: 'john.new@example.com' }, headers: { 'Content-Type': 'application/json' }});// result.response = { id: 123, name: 'John Updated', ... }// result.status = 200 Copy
const result = await httpPut({ url: 'https://api.example.com/users/123', body: { name: 'John Updated', email: 'john.new@example.com' }, headers: { 'Content-Type': 'application/json' }});// result.response = { id: 123, name: 'John Updated', ... }// result.status = 200
Performs an HTTP PUT request to the specified URL.