how to test localhost api in postman