About HTTP Endpoints

Wix CLI projects support HTTP endpoints, which you can use to build backend APIs for handling HTTP requests and coordinating frontend and backend logic. HTTP endpoints can serve any kind of data.

Note: HTTP endpoints replace HTTP functions from the previous CLI version. If you're migrating from HTTP functions, see the Migration Guide.

Use cases

Use HTTP endpoints when you need to:

  • Integrate with external APIs or services that require HTTP requests.
  • Handle complex form submissions or file uploads.
  • Serve dynamic content like images, RSS feeds, or personalized data.
  • Build REST APIs with multiple HTTP methods.
  • Access runtime data or server-side databases.

See also

Did this help?