ServiceStack Examples

<back to all web services

GetFactorial

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/syncreply/GetFactorial HTTP/1.1 
Host: ec2-54-81-170-186.compute-1.amazonaws.com 
Content-Type: text/jsv
Content-Length: length

{
	ForNumber: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Result: 0
}