Hi.
I have a POST JSON response that includes multiple values per field. How do I input these values as rows in my database?
The JSON looks like this…
[
{
“event_id”: “1471638833133x182831615355125760”,
“user_id”: “1471655244258x553992367349565060”,
“user_name”: “toad stool”,
“user_id_other”: “1471642627948x481003036722540860”,
“cur_session”: 1,
“paired_with_dummy”: “no”,
“show_break_page”: “no”,
“show_survey_page”: “no”,
“response_type”: “success”
},
{
“event_id”: “1471638833133x182831615355125760”,
“user_id”: “1471655182260x244606220396235600”,
“user_name”: “donkey kong”,
“user_id_other”: “1471642668163x245075270999223000”,
“cur_session”: 1,
“paired_with_dummy”: “no”,
“show_break_page”: “no”,
“show_survey_page”: “no”,
“response_type”: “success”
},
{
“event_id”: “1471638833133x182831615355125760”,
“user_id”: “1471655133758x590398509986698600”,
“user_name”: “yoshil”,
“user_id_other”: “1471642704953x433251848211512000”,
“cur_session”: 1,
“paired_with_dummy”: “no”,
“show_break_page”: “no”,
“show_survey_page”: “no”,
“response_type”: “success”
}]
The endpoint is set up like so and is currently only populating my database with the first row. event_id:25760…user_id:235600…user_name:.toad stool…"
How do I bring in all the rows, not just the first row?