Is there any possibility to API platform post endpoint receive an array of values and create multiple Entities per one request.
/api/task
is the endpoint where I create the single task. Can I send an array in JSON and create many tasks with one request?
CodePudding user response:
Creating multiple entities with one request is not Rest complient you can create a specific endpoint to do that with a json array and catch it with a datapersister and make the creation yourself.