Working with Urls

The simplest way to specify the url for the request is to use one of these calls shown below, depending upon the HTTP method:

public Task specify_url(AlbaHost system)
{
    return system.Scenario(_ =>
    {
        // Directly specify the Url against a given
        // HTTP method
        _.Get.Url("/");
        _.Put.Url("/");
        _.Post.Url("/");
        _.Delete.Url("/");
        _.Head.Url("/");
    });
}

snippet source | anchor