api-render-ui 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1083,7 +1083,7 @@ function sendRequest(apiOperator, responseSectionRef) {
1083
1083
  fetch(reuqestUrl, {
1084
1084
  method: apiInfo.method.toUpperCase(),
1085
1085
  headers,
1086
- body,
1086
+ body: ["GET", "HEAD"].includes(apiInfo.method.toUpperCase()) ? null : body,
1087
1087
  signal
1088
1088
  }).then((response) => {
1089
1089
  if (!response.ok) {