Wipro interview question

how REST works internally?