Send Layer Api Using Python