Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

Whats the best way to send a payload from a scripting block

Topic Labels: Scripting extentions
Solved
Jump to Solution
568 2
cancel
Showing results for 
Search instead for 
Did you mean: 

Hey!

I’m trying to send an array of customer data to an API webhook on a external service (e.g. Sendgrid/Zapier), using a POST request in a scripting block.

Using the basic fetch() function, CORS is preventing it to work.

Using a CORS proxy like https://cors-anywhere.herokuapp.com/ isn’t an option because I don’t want to send sensitive data through this service.

What’s the best way to fix this?

Best

Dominik

1 Solution

Accepted Solutions

Hi Dominik,

Thanks for posting! We have a new feature currently in beta to solve this exact problem – you can read more and sign up at the link here!

Hope this helps :blush:

See Solution in Thread

2 Replies 2

Hi Dominik,

Thanks for posting! We have a new feature currently in beta to solve this exact problem – you can read more and sign up at the link here!

Hope this helps :blush:

Already did :slightly_smiling_face: Perfect timing! Thanks a lot!