As mentioned in the earlier ticker #708 ,The issues related to API's returning HTTP 400 error status has now been fixed. With the recent changes, if any user does not authenticated with valid jwt the error code returns back as HTTP 401 (Unauthorized) with a error status {
"error": "Unauthorized",
"message": "Required request header 'Authorization' for method parameter type String is not present",
"timestamp": "2023-06-01T16:00:02.624+0000",
"path": "/visa"
}
The second change is regarding the updates to deletion of visa. Earlier, there was an option to delete the Visa with using VisaId as a parameter. Now, as we are no longer using the VisaId to fetch or update. Therefore, "type" and "value" can be used to delete the Visa now.
As mentioned in the earlier ticker #708 ,The issues related to API's returning HTTP 400 error status has now been fixed. With the recent changes, if any user does not authenticated with valid jwt the error code returns back as HTTP 401 (Unauthorized) with a error status { "error": "Unauthorized", "message": "Required request header 'Authorization' for method parameter type String is not present", "timestamp": "2023-06-01T16:00:02.624+0000", "path": "/visa" }
Steps to reproduce:
Below is the ss, displaying the error status
The second change is regarding the updates to deletion of visa. Earlier, there was an option to delete the Visa with using VisaId as a parameter. Now, as we are no longer using the VisaId to fetch or update. Therefore, "type" and "value" can be used to delete the Visa now.