In this interconnected world, you have to deal with APIs all the time. A lot of the time you’re just querying them. Retrieving data. Sometimes you’re calling a public API. Most of the time you’re calling your own, internal API. If you’re calling your own API, it’s likely that you’ll need to post to it at some point, too.
Perhaps you need to send images or documents to it. Or maybe it’s good old fashioned form data. Fire it across via AJAX, job done? That makes sense for an image or a document. But what about sending form data? Chances are your form data’s a bit different from the API data. Better handle that in C# then. But how?
Read more »