200 and 401 are returned by Card Search API


#1

Hello, I am trying to create a web site that can find a hearthstone card of an individual.

I sent a get request to hearthstone’s card search api using axios in Nuxt.js.

200 and 401 are returned as responses from the server.
Looking at the 200 response, the expected json was returned.
However, it cannot be obtained due to the 401 response.

What are the possible causes?
The website that has failed is https.

Sorry for not good at English.