JsonServiceClient.InternalPost<TResponse> method
namespace: Serenity.Services assembly: Serenity.Net.Services
Posts to a JSON service, internal version
protected TResponse InternalPost<TResponse>(string relativeUrl, object request)
where TResponse : new()
parameter | description |
---|---|
TResponse | Response type |
relativeUrl | Relative url |
request | The request object |
Return Value
The response
Exceptions
exception | condition |
---|---|
ValidationError | Throws a validation error exception if the returned response contains a service error. |
See Also
- class TResponse
- class JsonServiceClient