How to post in Web Component with Body

I want to replicate the below Request in kodular

fetch(`https://supercoolexampleapipost.com/api`, {
         body: JSON.stringify({
            content: "PING",
         }),
         method: "POST",
      })
1 Like

Same doubt

try the web component
and set the URL to https://supercoolexampleapipost.com/api
and use the PostText method together with the text {"PING"}
and let us know, which result you get in the Web.GotText event

Taifun