response( )


Returns a response populated with the information from the options parameter. The response() function creates a custom response built with the information passed to the options parameter in a WixHttpFunctionCustomResponseOptions object.

Use the response() function to create a response to return from an HTTP function.

Method Declaration
Copy
Method Parameters
optionsWixHttpFunctionCustomResponseOptionsRequired

The response options.

Returns
Return Type:WixHttpFunctionResponse
Was this helpful?
Yes
No