HelpPageConfigurationExtensions.SetSampleRequest Method

Sets the sample request directly for the specified media type and action with parameters.

Name Description
SetSampleRequest(this HttpConfiguration, object, MediaTypeHeaderValue, string, string) Sets the sample request directly for the specified media type and action.
SetSampleRequest(this HttpConfiguration, object, MediaTypeHeaderValue, string, string, params string[]) Sets the sample request directly for the specified media type and action with parameters.

In this article

Definition