I am trying to use the Magento 2.3 Rest API, using token authorization. when I try to GET data back from one of the endpoints using the token in an Authorization Bearer heading, I get an HTTP 401 Basic Authentication error. The problem is that the server requires Basic Authentication.My magento site host from AWS. site url is to https://........ In my local project API is working but live site not work API.
<html> <head> <title>401 Authorization Required</title> </head> <body bgcolor="white"> <center> <h1>401 Authorization Required</h1> </center> <hr> <center>nginx/1.14.0 (Ubuntu)</center> </body> </html>
Please give me solution?