Last active
August 31, 2017 12:54
-
-
Save anteburazer/970d3e956ea62e30a87f72acbeb479b3 to your computer and use it in GitHub Desktop.
API call that accepts querystring parameters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Retrieves quantities for particular product, by a given product color | |
* | |
* @param productId | |
*/ | |
@GET("/products/{id}/quantities") | |
public getProductQuantities(@Path("id") id: number, @Query("color") color: number): Observable<any> { return null; }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment