Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

       6. Now you need to set Service Application in web service for that controller collection. For this you add record of Controller Configuration Collections that you have created.

        

   

Now you can execute genrated URI on browser.

Sample Endpoint

For above example as we set cache policy as 'No-caching' There will be no-caching for endpoint.

Cached?No

Headers

For Above example we didnt select require authentication option on configuration section hence no need to pass header information

Sample Parameters

single parameter passed as 'param1' in above example.

ParameterQuery Param?DescriptionExample
param1YesThis parameter is send as response to usertest

 

 Sample URI for above example is 

Code Block
https://<service base>/ParamDemo/test

   

 

 

Sample Response Body

Here we are getting simple text response as we set in class library example.

Code Block
titleSample Response Data
Parameter with value :test

HTTP Status Codes

Status CodeMeaning
200OK; View data in response body
404Unauthenticated