HTTP API request error "Invalid Accept Type. Accept Type found: */*"

Hi,

I am doing an HTTP API call and have given the required headers with Accept as “application/json”. It is returning error “Invalid Accept Type. Accept Type found: /” with status as 406.

I have tested the API in postman with same header value for Accept and it returned as successful.

Appreciate your suggestions.

Thank you.