In this activity, we will add a JSON payload to the request and write code to parse that message into a C# object.
Prerequisites
You will require a function created from the HTTP trigger with the parameters template.
Scenario
You are creating the start of a personal finance application that allows users to add their own transactions, integrate with other applications and perhaps allow their credit card to directly log transactions. It will be able to scale elastically to any number of users, saving us money when we don't have any users.
Aim
Parse a JSON payload into a C# object, starting your RESTful API.
Steps for Completion
- Change the Route to transactions.
- Remove the get verb. Remove the String parameter ...