Wix CLI projects support Astro endpoints, which you can use to build backend APIs for handling HTTP requests and coordinating frontend and backend logic. Astro endpoints are HTTP endpoints that serve any kind of data. You can use them to generate images, expose RSS documents, or build full APIs for your site.
Note: These replace HTTP functions from the pervious CLI version.
Use HTTP endpoints when you need to: