I think their syntax and flow are similar, what stole ideas from the other ?

Also, SOAP and REST I read their differences on websites (google) but i don't know what they are exactly. could someone please picture or summarize them both for beginer level ?