Code Monkey home page Code Monkey logo

rxjava2demo's Issues

Api运行出错

Api 报这个错 java.lang.IllegalArgumentException: Missing either @get URL or @url parameter.
我改成
@get("/")
Observable register(@Body RegisterRequest request);
又报这个错 Non-body HTTP method cannot contain @Body.
楼主运行可以成功吗

关于教程三的demo

大神之前在教程2 和教程3里的demo 关于retrofit的部分,我一运行就报错啊,
Non-body HTTP method cannot contain @Body.
难道别人没有这个问题吗?

get and body method error

i try to run the RxJava2Demo chapterTwo ,but when i run the method praticle1 ,my progress crush, i try to fix it,but failed, can u tell me how to use body and get? my logcat give me some error message :

java.lang.IllegalArgumentException: Missing either @get URL or @url parameter.
java.lang.IllegalArgumentException: Non-body HTTP method cannot contain @Body.

demo中关于retrofit的api中entity文件夹为空

之前已有类似的issue 但未被解决

`

@GET
Observable<LoginResponse> login(@Body LoginRequest request);

@GET
Observable<RegisterResponse> register(@Body RegisterRequest request);

@GET
Observable<UserBaseInfoResponse> getUserBaseInfo(@Body UserBaseInfoRequest request);

@GET
Observable<UserExtraInfoResponse> getUserExtraInfo(@Body UserExtraInfoRequest request);

`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.