Thre action to be done when API works:A request is made for something to be doneThe program is run to complete that requestThe program sends back the responseWebservice is API that just uses the net.