DRAG DROP
You are developing a .NET application that uses the HttpClient type to access an ASP.NET Web API
application.
You need to add a header to specify that data is returned as JSON.
You have the following code:
Which segments should you include in Target 1 and Target 2 to complete the code? (To answer, drag the
appropriate code segments to the correct location or locations in the answer area. Each code segment may beused once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view
content.)
Select and Place:
More information: https://webmasters.stackexchange.com/questions/31212/difference-between-the-accept-and-content-type-http-headers
it’s client sude, so accept application/json is ok.