package com.daksh.tmdbsample.data.source.remote;

import com.daksh.tmdbsample.data.model.MovieListApiResponse;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Single;

/**
 * Created by daksh on 03-Sep-16.
 */
public interface TmdbApi {

    @GET("/movie/popular")
    Single<MovieListApiResponse> popular(@Query("page") Integer page);

    @GET("/movie/top_rated")
    Single<MovieListApiResponse> topRated(@Query("page") Integer page);
}

@@ -256,25 +256,24 @@
 %0A%0A    @GET(%22
-/
 movie/popula
@@ -358,17 +358,16 @@
   @GET(%22
-/
 movie/to

Remove preceeding "/" in TmdbApi