Jade Global interview question

what is the difference between rest and soap?