The wix-http-functions API lists the forms of the HTTP endpoints:
Clients consume your HTTP functions by reaching endpoints with the following patterns.
Premium sites:
https: //www.{user_domain}/_functions/
Free sites:
https: //{user_name}.wixsite.com/{site_name}/_functions/
You test your HTTP functions by reaching endpoints using the following patterns:
Premium sites:
https: //www.{user_domain}/_functions-dev/
Free sites:
https: //{user_name}.wixsite.com/{site_name}/_functions-dev/