Bearer {token} を指定してください(Bearer の後ろは半角スペース)。curl --location --request GET '/v2/rojineco/cats/all' \
--header 'Authorization: Bearer <token>'{
"metadata": {
"title": "Success",
"detail": "OK",
"status": 200
},
"_links": {
"self": {
"href": "/v2/rojineco/cats/all"
}
},
"results": [
{
"uuid": "167e8e04-f5ee-4636-aff1-aba2e4664d7b",
"url": "https://rojineco.s3-ap-northeast-1.amazonaws.com/img/9fe85bbf-0f0b-42ca-be10-c3919fce982a.jpeg",
"cats": [
{
"name": "tiger_cat",
"score": 0.7607341
},
{
"name": "white_cat",
"score": 0.20986956
},
{
"name": "black_cat",
"score": 0.017733935
},
{
"name": "spotted_cat",
"score": 0.008758947
},
{
"name": "calico_cat",
"score": 0.002345031
},
{
"name": "rust_cat",
"score": 0.00055844145
}
]
}
],
"errors": null
}