win用fiddler,mac用charles,chrome好像有postman的插件,如果是在后端接口没好的情况下测试前端逻辑,可以用阿里妈妈出的rap
很多rest client 工具就可以测试REST API