Https Post Method Javascript Array Map Filter In Python