I have an API:
$data = array(
2 'api_method' => 'subscriber_add',
3 'api_key' => '3009',
4 'api_data' => array(
5 'email' => "email@domain.com",
6 'list_id' => array(1,2,3),
7 )
8 );
I am having problems on sending in list_id of '1' with the below sql. Email is working.
http://URL_ADDRESS.com/admin-ajax.php?action=newsletters_api&api_method=subscriber_add&api_key=67185672AFD27C3A62D6855E95288F87&api_data[email]=email@domain.com&api_data[list_id]=1
How do I deal with an array within an array