practicing a web api