Fastapi Post Method Javascript Array Find Element That Appears