阅读背景:

如何使用supertest测试Express应用程序的POST请求参数?

来源:互联网 

I'm creating an API using Express 4.0.0 and one of the routes takes a POST. Currently I'm just trying to have it echo a name sent in the request parameters. The response is a JSON object, but the request expects form fields.I'm creating an API using Express 4.0.0 and one




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: