Zensar Technologies Interview Question

Whay to use Web api, if wcf is doing same task?