nodeunit
nodeunit copied to clipboard
How to test post request with httputil?
Hi,
I would like to test my rest api using httputil, it work fine for get request, but for post and put with body request, what should i do? I read the source code, it just accept data in header, how can i pass my test data in body?
Any suggest will be appreciate.
Thanks, Alice