how to test api in visual studio code