HTTP Client reference
The client
object holds the HTTP Client session metadata, such as the list of global variables. The HTTP Client session is started when AppCode starts, and ends when AppCode is closed. Values are not preserved between AppCode restarts.
The client
provides access to the global nested object that serves as a variables storage.
Properties
Property | Description |
---|---|
| The global variables storage, which is used for setting, retrieving, or removing variables. In your HTTP requests, you can access a variable saved in |
Methods
Method | Parameters | Description |
---|---|---|
|
| Creates a test with the name |
|
| Checks that the specified |
|
| Prints |
Global variables storage
The global
object serves as a variables storage and is used for setting, retrieving, or removing variables.
Methods
Method | Parameters | Description |
---|---|---|
|
| Saves the variable with the |
|
| Returns the value of the |
| Checks whether the | |
|
| Removes the |
| Removes all variables from the variables storage. |