Fastapi Post Method Javascript Array Push Pop Strain