Among the American military, during WW1, American, morse key, signalers acknowledged incoming messages keying the two letters O & K.
Previously the standard, and recognized, acknowledgment of transmission was open, under fire, to corruption and confusion.
In the post war, or in between years as it transpired, it slipped into the American vocabulary and then imported around the world with Americas participation in WW2.