Skip to content
This repository has been archived by the owner on Jul 29, 2021. It is now read-only.

ngxp/http-decorators

Repository files navigation

Angular HttpClient Decorators

Build Status

Get

@Get({
  url: 'url: 'https://reqres.in/api/users'
})

UrlParam

getUsers(@UrlParam('id') id:string): string {
  return empty();
}

Put

@Put({
  url: 'url: 'https://reqres.in/api/users'
})

Payload

updateUser(@Payload() user: User) {
  return empty();
}

About

A Angular HttpClient decorator library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published