Page 1 of 1

Send parameter in body for filtering data in Angular

Posted: Wed Sep 28, 2022 11:43 am
by Rasoul
How to send data in body for filtering data in Angular?
I want to send an object in body from client to server.

Code: Select all

[HttpPost("InitViewer")]
public IActionResult InitViewer([FromBody] ADto dto ){}

Re: Send parameter in body for filtering data in Angular

Posted: Thu Sep 29, 2022 6:56 am
by Vadim

Re: Send parameter in body for filtering data in Angular

Posted: Sat Oct 01, 2022 6:57 am
by Rasoul
Hello Vadim
I appreciate you taking the time to answer my question.

Re: Send parameter in body for filtering data in Angular

Posted: Mon Oct 03, 2022 1:17 pm
by Max Shamanov
Hello,

You are welcome!

Re: Send parameter in body for filtering data in Angular

Posted: Fri Oct 21, 2022 9:06 am
by James13
Hello and thank you @Vadim for this sample, it helped me a lot too.

Re: Send parameter in body for filtering data in Angular

Posted: Fri Oct 21, 2022 11:06 am
by Lech Kulikowski
Hello,

You are welcome!