Skip to content

Instantly share code, notes, and snippets.

@anteburazer
Last active August 31, 2017 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anteburazer/970d3e956ea62e30a87f72acbeb479b3 to your computer and use it in GitHub Desktop.
Save anteburazer/970d3e956ea62e30a87f72acbeb479b3 to your computer and use it in GitHub Desktop.
API call that accepts querystring parameters
/**
* 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