Created
May 12, 2017 08:04
-
-
Save anteburazer/f6f9372ec69bb9a748579844e9827aea to your computer and use it in GitHub Desktop.
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
@Injectable() | |
@DefaultHeaders({ | |
'Accept': 'application/json', | |
'Content-Type': 'application/json' | |
}) | |
export class ProductsApiClient extends HttpService { | |
@PUT("/products/{id}") | |
public updateProductById(@Path("id") id: number, @Body product: Product): Observable<any> { return null; }; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment