Api Sample calls

BestPracticeSample Get()

SamplePythonDataApi Get()

BestPracticeSample Get(string id)

BestPracticeSample Get(string name, int count)
(may return null if you already tested the BestPracticeSample Put to update the test data 'Count')

BestPracticeSample Post(ComplexObject dto)

BestPracticeSample Put(string id, ComplexObject dto)

AlternateSample GetWithNamedParameter(string myVariableName)

AlternateSample Post([FromBody] string username) (passing as JSON string ...best practice)
AlternateSample Post([FromBody] string username) (passing as URL-ENCODED string ...NOT preferred)

AlternateSample Get([FromUri]ComplexObject dto)
(may return null if you already tested the BestPracticeSample Put to update the test data 'Count')

AlternateSample PostFromUrl(string name, int count, bool isActive)
Not Recommended unless posting from a URL only

RestfulUrlSample Get(string name) .. uses a RESTful route: "api/RestfulUrlSample/{name}/Children"

DefaultUrlEncodedBodySample Post(ComplexObject dto)

HeaderSample Get()
Not Recommended unless URL is too large for a standard URL, and a POST is also not an option

FormSample Post(ComplexObject dto)