Sending data to an API from my custom App (dedicated attached Webhook instant trigger)

Hi! Community…
Could you please answer the problem?
My problem is that I have created the dedicated webhook instant trigger Module(custom App). I try to send the body(webhookUrl and something) to an API. but it does not send the data and It’s running continuously. If I run my app It will add the data in the Api and It will return the response to waiting data in my trigger module. as I tried in the postman, It’s working fine and got the response also.
How does the Attach part work? I tried but The request was accepted. Waiting for data.
THIS IS MY CODE: Please correct my code and explain what the problem is there.
// // Uncomment and update the following lines to implement the “attach” method.
// Request
“url”: “{{parameters.service}}/webhooks”,
“method”: “POST”,
“headers”: {
“Accept”: “/”,
“Accept-Encoding”: “gzip, deflate, br”,
“Connection”: “keep-alive”,
“x-api-key”: “xxxxxxxxxxxxxxxxxxxxxxxx”,
“deviceid”: “xhhxxhhxx”,
“cname”: “”,
“Content-Type”: “application/json”
// “Content-Type”: “application/x-www-form-urlencoded”
“body”: {
“url”: “{{webhook.url}}”,
“events”: “test1,test2”
// “events”: “{{}}”

	// Response handling
	"response": {
		"output": "{{body}}",

		"error": {   
			// "type": "{{body.code}}",                                     // Error handling
			"message": "{{body.errors}}"  // On error, returns error message as "[statusCode] error text".


Really, I appreciate your quality and quick answer. Thanks in advance for your help!