[Solved] Multiple parallel http-functions.js in Wix backend

Is it possible to have multiple parallel http-functions.js running on Wix backend?

I have created one http-function on Wix backend and it posts data to my Wix database via Zapier without problems.

However I tried to create another one where I had to choose another name. So I named it http-functions1.js in the backend. The Code is the same, but it shows me an forbidden error in Zapier, even tho the permissions are the same as well.

Is there a chance to create other http-functions.js and make the run with zapier as well or is this function limited to one Js?

Thank you

What you are doing is not supported (the …1.js thing). But it is not necessary. You can put endless amounts of functions inside http-functions.js, they just need to carry different function names. I have one with some 16 different functions in it, works like a charme.

Hi, sound good.
do you have a screenshot or an example how you mean it?

So I store everything in one code, one after another?

My goal is to update different collections from different databases

No, code is quite long, does not fit into 1 screen shot. But you just export every function as your first, one below the other, and anyone can get executed by an outside call.

Yes, tried it out right now and seems to work. Thank you

Glad you got it working.