while( (str = osrfStringArrayGetString(mparams, i++)) )
jsonObjectPush(arr, parseJSONFunc(str));
- req_id = osrfAppSessionMakeRequest( session, arr, method, api_level, NULL );
+ req_id = osrfAppSessionSendRequest( session, arr, method, api_level );
jsonObjectFree(arr);
} else {
jsonObjectPush(jsonParams, jsonXMLToJSONObject(str));
}
- req_id = osrfAppSessionMakeRequest( session, jsonParams, method, api_level, NULL );
+ req_id = osrfAppSessionSendRequest( session, jsonParams, method, api_level );
jsonObjectFree(jsonParams);
}
}