How to create a Nock POST request with a JSON body and a file attachment

前端 未结 0 1097
春和景丽
春和景丽 2021-02-14 15:48

Wanting to test a POST using nock. The request will take a JSON body along with a file as the parameter in order to successfully return a response. Getting a 400.

Body Pa

相关标签:
回答
  • 消灭零回复
提交回复
热议问题