When does the FromBody property before passing parameters in Asp.Net post need to be added?

[HttpPost]
public Add ([FromBody] AddInput)
{
}
in a project, some of the parameters passed in the post method are added with [FromBody], and some do not have
, so when do you want to add the FromBody attribute

?
Mar.24,2021

webapi seems to be used more often, and it seems that json can be directly converted into a model

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b074-2b9da.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b074-2b9da.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?