Send Layer Api Using Python Dictionaries