ITestServer.Post(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs an HTTP POST request to the test server.
public string Post (string endpoint, object arguments = null);
abstract member Post : string * obj -> string
Public Function Post (endpoint As String, Optional arguments As Object = null) As String
Parameters
- endpoint
- String
The path of the request, which will be appended on the uri of the test server.
- arguments
- Object
An object that will be serialized as json and posted to the test server.
Returns
The body of the the reponse.