Status: Closed (View Workflow)
Resolution: Cannot Reproduce
When sending valid requests for patron data to endpoints in mod-patron, the system returns an error message that does not seem to be coming from mod-patron itself.
Steps to Reproduce:
1. Generate a valid token for the prokopovych scratch environment: https://core-functional.ci.folio.org/
2. Send a GET request using postman or CURL to the /patron/account/ endpoint using any valid patron ID number. I've been using bec20636-fb68-41fd-84ea-2cf910673599
I should get patron account data.
End point returns: Accept header must be ["application/json","text/plain"] for this request, but it is "", can not send /
It returns this message no matter what the accept header is set to.
An identical request using a valid patron id sent to mod-patron on snapshot returns account data, as expected, so I'm reasonably sure my request is correct.