Input for HEAD operation
Operation for HEAD request
Send a HEAD request
import { head, isCancelError } from '@aws-amplify/api';
const { headers, statusCode } = await head({
apiName,
path,
options: {
headers, // Optional, A map of custom header key/values
queryParams, // Optional, A map of query strings
}
}),response;
HEAD HTTP request