結果 : how to test api endpoints in python