<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Feign on 极客老墨</title>
    <link>https://blog.hankmo.com/tags/feign/</link>
    <description>Recent content in Feign on 极客老墨</description>
    <generator>Hugo -- 0.138.0</generator>
    <language>zh-cn</language>
    <lastBuildDate>Tue, 22 Jan 2019 15:54:21 +0000</lastBuildDate>
    <atom:link href="https://blog.hankmo.com/tags/feign/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Spring boot工程Feign请求时Get请求无法传递body的问题</title>
      <link>https://blog.hankmo.com/posts/tech/spring-boot-feign-get-with-body/</link>
      <pubDate>Tue, 22 Jan 2019 15:54:21 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/tech/spring-boot-feign-get-with-body/</guid>
      <description>同RestTemplate类似，Feign默认情况下也使用的是JDK原生的http请求，同时也支持OkHttp、HttpClient等框架。默认情况下，原生Http请求不允许Get请求传递body，如果传递了body数据，会将当前请求转为Post请求，而实际上我们后台接收的是Get请求，所以抛出上边的异常，所以我们需要换成能够支持的HttpClient。</description>
    </item>
  </channel>
</rss>
