We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example
@Path('send') @POST public sendEmail(@Body() sendEmailDto: SendEmailDto) { //do something with the dto }
as opposed to
@Path('send') @POST public sendEmail(@Param('from) from: string, @Param('to') to:string) { //do something with the values }
The text was updated successfully, but these errors were encountered:
Of course you can. Remove the @Body() tag.
public sendEmail(sendEmailDto: SendEmailDto)
And thats all.
Sorry, something went wrong.
@alfonsoal1983 thanks for answering. Yes, I've found that shortly after posting but forgot about the post. Closing it now.
No branches or pull requests
Example
as opposed to
The text was updated successfully, but these errors were encountered: