adding post on getting api done from outside in