Skip to content

Instantly share code, notes, and snippets.

@aemxn
Created August 23, 2017 14:35
Show Gist options
  • Save aemxn/c93d060d1f3f320f33fb6a3622456cec to your computer and use it in GitHub Desktop.
Save aemxn/c93d060d1f3f320f33fb6a3622456cec to your computer and use it in GitHub Desktop.

Revisions

  1. aemxn created this gist Aug 23, 2017.
    11 changes: 11 additions & 0 deletions AppAPI.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    package com.myapp.core.data.network;

    interface AppAPI {

    // other API interface

    //POST Login user
    @POST("user/login")
    Call<LoginResponse> loginUser(@Body Login login);

    }