Search.../

wixHttpFunctionRequest

An object representing an incoming request received by a call to an HTTP function.

Description

The WixHttpFunctionRequest object breaks the URL of the incoming call to an HTTP function into different parameters for easy access.

The URL of the incoming call to an HTTP function is broken into:

For premium sites, the URL of the incoming call has the following format: https://www.domain.com/_functions/myFunction/sub?q=value

  • baseUrl:     https://www.domain.com/_functions
  • path:          sub
  • query:        q=value

For free sites, the URL of the incoming call has the following format: https://www.domain.com/mysite/_functions/myFunction/sub?q=value

  • baseUrl:     https://www.domain.com/mysite/_functions
  • path:          sub
  • query:        q=value

Was this helpful?