Marlabs interview question

How to post data to server ?