# Switching providers

By default, each [WAK](https://www.assetstore.unity3d.com/en/#!/content/19663) HTTPOperation uses Unity’s WWW/UnityWebRequest class to communicate over the wire.  There are other, more robust, HTTP libraries out there and are fully supported in WAK.  A couple reasons why you would want to use a library such as BestHTTP, UniWeb, or UnityHTTP are:

* WWW class is limited to the GET and POST verbs
* WWW class does not include the body of the response if HTTP status code is other than 200

All providers can be found on the asset store and require the actual asset:  <https://assetstore.unity.com/publishers/1758>

Switching providers is easy… Add the HttpProvider attribute to the HTTPOperation class and specify one of the available types in the ‘hg.ApiWebKit.providers’ namespace.  Now, this example is using UnityHTTP instead of Unity WWW class.  That is all there is to it.

![Switching providers](https://3160023044-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNwokgSPBJBpAv87dWr%2F-LNwvl6IByT_i6El4INK%2F-LNwxaZrNRI-_08JG89f%2Fimage.png?alt=media\&token=55c18b5a-1b09-4b97-922c-3880ec31d943)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://haptixgames.gitbook.io/web-api-kit/core/switching-providers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
