Computer Science, asked by singhlopamudra8, 7 months ago

why to use "from body" in web API

Answers

Answered by indrajeet13062
1

Answer:

When a parameter has [FromBody], Web API uses the Content-Type header to select a formatter. In this example, the content type is "application/json" and the request body is a raw JSON string (not a JSON object). At most one parameter is allowed to read from the message body.

Explanation:

I think it is helpful for you.

please follow me and make me a brainlist

Answered by knegi4486
0

Answer:

YOUR ANSWER IS WRONG OK I WILL TELL BUT FIRST FOLLOW ME AND MARK AS BRAINLIST

Similar questions