wix-http-functions
HTTP functions are used to expose an API of your site's functionality. Learn more.
Additional information about this section
Store values associated with an object
- wixHttpFunctionRequest
An object representing an incoming request received by a call to an HTTP function.
The endpoints exposed by this API
Returns a response with status code 400 (Bad Request) and the information from the options parameter.
Returns a response with status code 201 (Created) and the information from the options parameter.
A function that responds to requests made with the HTTP DELETE method.
Returns a response with status code 403 (Forbidden) and the information from the options parameter.
A function that responds to requests made with the HTTP GET method.
Returns a response with status code 404 (Not Found) and the information from the options parameter.
Returns a response with status code 200 (OK) and the information from the options parameter.
A function that responds to requests made with the HTTP OPTIONS method.
A function that responds to requests made with the HTTP POST method.
A function that responds to requests made with the HTTP PUT method.
Returns a response populated with the information from the options parameter. The response() function creates a custom response built with the information ...
Returns a response with status code 500 (Internal Server Error) and the information from the options parameter.
A function that responds to requests made with any HTTP method.
- WixHttpFunctionRequest
An object representing an incoming request received by a call to an HTTP function.
- WixHttpFunctionResponse
An object representing a response to an HTTP function request.