Allowing API requests from Corvid Back-end

My Wix back-end code needs to submit requests to an API. This can usually be achieved with wix-fetch, following this: https://support.wix.com/en/article/corvid-accessing-third-party-services-with-the-fetch-api#backend-service-call .

However, the API I’m working with allows requests only from IP addresses in their allowlist. Can this be done with a Wix corvid back-end? If the back-end doesn’t have a static IP address, is there an alternative to a static IP address that might be workable?

Hi,

Wix is based on a Cloud environment and your site will not have a static IP.
However, I did find a workaround within the Corvid Forum here . It looks like they were able to create some code to get an IP address. You can try the solution within that thread to see if it works for you but for Wix, the official answer is that your Wix site does not have a static IP.

Best regards,
Edward

Hey, take a look here:

https://www.wix.com/velo/forum/community-discussion/post-and-get-http-requests-with-ip-authentication

B.