ITestServer.Post(String, Object) Method

Definition

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.

Applies to