title: Retrofit login using POST android
body: <p>I'm trying to use the login API from my server via Retrofit but seems that I cannot make this right. Right now I'm getting this in logCat <code>No Retrofit annotation found. (parameter #1)</code> for using this code:</p>
  
  <p>Api call:
  <code>http://www.myapi.com/v1/index.php/login</code> with the parameters <code>email</code> and <code>password</code></p>
  
  <pre><code>//this is the interface:
   @POST("/login")
      void login( String email,String password, Callback&lt;BaseMO&gt; callback);
  
  //this is the api call
       restAdapter = new RestAdapter.Builder()
                      .setEndpoint(ServerParams.API_URL)
                      .build();
      ServerEndpoints apiService =
                              restAdapter.create(ServerEndpoints.class);
                      apiService.login("meil@gmail.com", "000000", new Callback&lt;BaseMO&gt;() {
                          @Override
                          public void success(BaseMO baseMO, Response response) {
                              Log.d(TAG, "Success " + response.getReason() + " | " + baseMO.getMessage());
  
                          }
  
                          @Override
                          public void failure(RetrofitError error) {
                              Log.d(TAG, "Error " + error.getMessage());
                          }
                      });
  </code></pre>
  
  <p>Can someone help me make this right. Thanks!</p>