Hi
Never worked this out…how can I send data to a REST asset that is then sent in the request body?
Specifically, I want to send a GraphQL request to a service, but I want the request to be dynamic based on a choice on page.
The GraphQL is in a format:
query DynamicAssetPreviewUrl {
asset: node(id: “ID_that_is_dynamic”) {
… on Image {
previewUrl
title
}
}
}
Appreciate help on this, or more generally how to pass to a request body.
Thanks