Search.../

WixHttpFunctionResponse

An object representing a response to an HTTP function request.

Note: This API is only intended for use in server-to-server communications.

If you use this API to set a cookie on a site visitor's browser you may no longer be in compliance with applicable data privacy regulations.

Properties

Store values associated with an object

  • body

    Sets or gets the body of the response as a string, object or binary buffer.

  • headers

    Sets or gets the HTTP response header fields.

  • status

    Sets or gets the HTTP status code of the response.