> For the complete documentation index, see [llms.txt](https://docs.hypersolutions.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hypersolutions.co/incapsula/utmvc.md).

# UTMVC

The utmvc script path needs to be parsed from the HTML of the page. You can do this by using the regular expression:

```regex
src="(/_Incapsula_Resource\?[^"]*)"
```

You then need to make a request to the script to obtain the JavaScript code, and send the JavaScript to the API. You can then set a cookie named "\_\_\_utmvc" (note: three underscores) with the response from the API.

\
Then, you need to submit a GET request to /\_Incapsula\_Resource?SWKMTFSR=1\&e=. The value of e should be a random 64-bit floating point. For example, the full path will be /\_Incapsula\_Resource?SWKMTFSR=1\&e=0.14896897949050825. Once you have done this, assuming the utmvc cookie is valid, the server will set the utmvc cookie to the value of "a" with a max age of zero.\
After this, you can make requests to the site.
