Marlabs Interview Question

How to post data to server ?