Matt Darvell

Matt Darvell

  • NA
  • 17
  • 1.8k

C# HTTPClient Response Logging

Oct 18 2023 3:16 PM

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)