March 2018
Beginner to intermediate
410 pages
10h 40m
English
We follow up by adding the POST method. We implement this as an asynchronous method. The library supports both synchronous responses and asynchronous responses. The main difference is that you must trap any exceptions in asynchronous methods, unless you want the application to terminate unexpectedly if one is thrown.
The first thing we do is try to decode the payload in the request. The library does this for you if the request comes with a content format specified. If one is missing, we decode the payload as if it were plain text. We also use the CommonTypes.TryParse method, which is forgiving. It recognizes 1, true, yes, and on as true values, and 0, false, no, and off as false values, using case-insensitive ...
Read now
Unlock full access