Not sure its that easy, and I’m also not sure based on that JSON that this can be sent as form data.
I would need to see the API specification to make that assumption.
On face value, what we have is a JSON object with top level key called Quiz that contains an array.
The Quiz array has three key value pairs called “question”, “type” and “answer”.
The value for the answer key is also an array.
Therefore which array do you store in the form-data. Is it the whole of the Quiz array, or is it the answer key. The array may need to be stringified before posting which is a common pattern for this type of request.
This question is over a year old, so I’m not really expecting the original poster to provide the API spec that would be needed to answer the question properly.