Input for PUT operation
Operation for PUT request
Send a PUT request
import { put, isCancelError } from '@aws-amplify/api';
const { body } = await put({
apiName,
path,
options: {
headers, // Optional, A map of custom header key/values
body, // Optional, JSON object or FormData
queryParams, // Optional, A map of query strings
}
}).response;
const data = await body.json();
PUT HTTP request