Caused by: retrofit.RetrofitError: method POST must have a request body

后端 未结 6 1669
悲&欢浪女
悲&欢浪女 2021-01-02 01:12

I am using retrofit to make a post api call, I am getting the following error while trying to hit the endpoint.

     Caused by: rx.exceptions.OnErrorNotImple         


        
6条回答
  •  我在风中等你
    2021-01-02 01:48

    It seems that Retrofit rel.1.9 is prone by the issue (https://github.com/square/retrofit/issues/854).

    In the meantime, consider downgrading to rel.1.6 until current release will be fixed. It is verified that rel.1.6 is free of this particular bug.

提交回复
热议问题