Twitter APIで、ベアラートークンでGETメソッドのリクエストをするサンプルデモ TwitterのAPIで、ベアラートークンを利用して、GETメソッドでリクエストをするサンプルデモです。 取得したデータ下記のデータを取得できました。ボディ(JSON){"errors":[{"code":32,"message":"Could not authenticate you."}]}レスポンスヘッダーHTTP/1.1 401 Unauthorized date: Fri, 26 Apr 2024 16:51:59 GMT perf: 7402827104 server: tsa_m set-cookie: guest_id=v1%3A171415031938904850; Max-Age=34214400; Expires=Tue, 27 May 2025 16:51:59 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None content-type: application/json; charset=utf-8 cache-control: no-cache, no-store, max-age=0 content-length: 64 x-transaction-id: e14ef1baf0a3c242 strict-transport-security: max-age=631138519 x-response-time: 98 x-connection-hash: 059903820c007d5c5299ef86cc3a8571c35f06b679a9a4603653e512b6750343