Using JSON helper methods
There are three JSON helper methods. There is one for reading data, one for adding data, and one for updating data. Since there is not one for deleting data, we will use the HttpClient.DeleteAsync
method to delete data.
The following table shows the relationship between the JSON helper methods and the HTTP methods:
JSON Helper Method |
HTTP Method |
Action |
|
GET |
Read |
|
POST |
Create |
|
PUT |
Update |
|