1
Answer

C# HTTPClient Response Logging

Matt Darvell

Matt Darvell

1y
599
1

Hi, I have the below code which I am using to send JSON data to an API.I want to log the response/status code such as 200, 201, 400 etc. Please can someone assist me with how to log the response code?

Below is the current code:

Answers (1)