All URIs are relative to http://localhost:1080
Method | HTTP request | Description |
---|---|---|
expectation_put | PUT /expectation | create expectation |
expectation_put(expectations)
create expectation
from __future__ import print_function
import time
import mockserver
from mockserver.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = mockserver.ExpectationApi()
expectations = NULL # list[Expectations] | expectation to create
try:
# create expectation
api_instance.expectation_put(expectations)
except ApiException as e:
print("Exception when calling ExpectationApi->expectation_put: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
expectations | list[Expectations] | expectation to create |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]