apiservice function
rezafaraji93 opened this issue · comments
How should we act if our api call needs queries other than page index?
In my case my api call func is like this:
@GET("api/GetSimilarProducts/{category_id}/{product_id}/{page}")
fun getSimilarProducts(@Path("category_id") category_id: String, @Path("product_id") product_id: String, @Path("page") page: Int): Single<SimilarProducts>