Show / Hide Table of Contents

Class FromBodyAttribute

The FromBodyAttribute attribute is used to indicate that a parameter must be deserialized from the request body.

Inheritance
System.Object
System.Attribute
FromBodyAttribute
Namespace: LambdaSharp.ApiGateway
Assembly: LambdaSharp.ApiGateway.dll
Syntax
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class FromBodyAttribute : Attribute
Remarks

The FromUriAttribute and FromBodyAttribute are mutually exclusive. The FromBodyAttribute is not needed for complex types as they are deserialized from the request body by default. There can only be one parameter that is explicitly marked with the FromBodyAttribute attribute or which implicitly is deserialized from the request body.

In This Article
Back to top Generated by DocFX