API Returns Unauthorized when doing a patch from javascript client
问题 I'm doing a patch to an API that uses Identity Server for authentication. When I run it on Postman the patch works perfectly http://localhost:90909/api/products/3434 Headers = { Authorization: Bearer <token> Content-Type: application/json-patch+json } Body: [ { "op" : "replace", "path" : "/DESCRIPTION", "value" : "bruhhh" } ] But when I execute the patch on my Reactjs using axios it would return Unauthorized: static update(data){ let config = { data : [], headers: { 'Authorization' : 'Bearer