WebBeds interview question

how to write an http request line by line, how would you make this code better