Posting data to a server securely via http

I don't understand why man in the middle attack is not relevant. Surely if the attacker captures the message sent and replays it to the server it would accept the input and produce a result?