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: