difference between fetch and get api