Open1

P で勉強になったこと

(API request header)

  • authorization headerにBearerが使われてた。
authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjhiMjFkNWE1Y2U2OGM1MjNlZTc0MzI5YjQ3ZDg0NGE3YmZjODRjZmYiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vcG9ydGwtMTU2MTM4MjU3ODY1MyIsImF1ZCI6InBvcnRsLTE1NjEzODI1Nzg2NTMiLCJhdXRoX3RpbWUiOjE2MjUyOTM3MzQsInVzZXJfaWQiOiJ5MmQxMnlocUxkZW9Pb2NENU8yTE15aGpSdXIyIiwic3ViIjoieTJkMTJ5aHFMZGVvT29jRDVPMkxNeWhqUnVyMiIsImlhdCI6MTYyNTI5MzczNSwiZXhwIjoxNjI1Mjk3MzM1LCJlbWFpbCI6InRhaWtpLnNAcG9ydGwuY28uanAiLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJlbWFpbCI6WyJ0YWlraS5zQHBvcnRsLmNvLmpwIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.F1iiu7i2K2yJ-OnmBprcjkSC_DHOi44D1O4zGiyyAwgxqoTzAVPwly7juHRKdF5Kr7ZOKrxEQ20H-R4xaioAoN_b9b2o8FQ1OIoPRf6usSZWGi0FyR7LNWex4QqJWPU42Cc9ghGM-Y-O3xwJms7XdBRgnxGiMswIL7eGkMltb8VO_u4LJoJyPlJqSUWpeiGoNqB46ILkEoR34REXShGFsNGMnf4cCBDyqXVCht9-0udjIlngb9WqllnEPP-tEnwPaMAOI9snW3gROUk0jXzYUDKhgxAcjUt3f4hzmJDJ40k61VQVmR-Mz26ddJ-rEQlgYscEy99wz09XHYQmPwlurg

(API response header)

  • etagちゃんとついてた
etag: "13d2-5KKAY1di3Rfc2oVVrbKIO83IjEg"
ログインするとコメントできます