Https Post Method Javascript Snake Code Python