Symfony + API Platform: Is there a way to throw an error when POST data has unexpected (eg. mistyped) properties?

后端 未结 0 959
悲哀的现实
悲哀的现实 2021-02-02 07:17

Say I have an API resource named "Foo" with property "bar" and I make the POST operation available to create a new instance:

POST /api/foo
{
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题