Here is an example of how you would do it with supertest module. ... json along with your file"}') .attach('image', 'path/to/file.jpg') .end(function(err, ...
確定! 回上一頁