StarterTemplate ASP.NET Host

<back to all web services

Hello

The following routes are available for this service:
All Verbs/api/hello/{Name}
All Verbs/api/hello
All Verbs/api/hello/{Name*}
Hello Parameters:
NameParameterData TypeRequiredDescription
NamepathstringNo
HelloResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

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

POST /jsv/reply/Hello HTTP/1.1 
Host: bootstrapapi.servicestack.net 
Content-Type: text/jsv
Content-Length: length

{
	name: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	result: String
}