{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2022%2F11%2F17%2F174539\" title=\"Retrofit2\u3067Authorization\u30d8\u30c3\u30c0\u3092\u81ea\u52d5\u3067\u8a2d\u5b9a\u3059\u308b - \u304f\u3089\u3052\u306b\u306a\u308a\u305f\u3044\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2022-11-17 17:45:39","width":"100%","description":"Android\u3067Retrofit2\u3092\u4f7f\u3046\u3068\u304d\u306b\u3001 \u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u3092\u6bce\u56de\u8a2d\u5b9a\u3059\u308b\u306e\u306f\u3081\u3093\u3069\u304f\u3055\u3044\u306e\u3067\u3001 \u3088\u3044\u65b9\u6cd5\u306f\u306a\u3044\u304b\u306a\u3068\u8abf\u3079\u3066\u307f\u305f\u3068\u304d\u306e\u5099\u5fd8\u9332(*\u00b4\u03c9\uff40*) OkHttpClient\u306eInterceptor\u3067\u633f\u5165\u3059\u308b\u3068\u3088\u3044\u3063\u307d\u3044\u3002 ApiClient\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u4f5c\u6210 \u30d8\u30c3\u30c0\u30fc\u304c\u5fc5\u8981\u306a\u5834\u5408\u306e\u307f\u3001@Headers(...)\u3092\u8a2d\u5b9a\u3059\u308b\u5f62\u306b\u3057\u305f\u3044\u3002 public interface ApiClient { @GET(\"/api/foo\") Single<GetFooResponse> getFoo(); @POST(\"/api/foo\") @Headers(AuthorizationInte\u2026","blog_title":"\u304f\u3089\u3052\u306b\u306a\u308a\u305f\u3044\u3002","categories":["Android","Retrofit2"],"author_url":"https://blog.hatena.ne.jp/wannabe-jellyfish/","image_url":null,"blog_url":"https://memory-lovers.blog/","provider_name":"Hatena Blog","url":"https://memory-lovers.blog/entry/2022/11/17/174539","version":"1.0","author_name":"wannabe-jellyfish","provider_url":"https://hatena.blog","height":"190","title":"Retrofit2\u3067Authorization\u30d8\u30c3\u30c0\u3092\u81ea\u52d5\u3067\u8a2d\u5b9a\u3059\u308b","type":"rich"}