Archived from the Transloadit support forum. Originally posted on September 23, 2011; details may be outdated, see our docs for current behavior. Original thread
Hey guys–
This is just a wish list item. It would be nice if you could provide a testing feature on your API wherein one could submit assemblies and get a normal response, but if we include a “test: true” parameter or something not actually process the assembly. That way in unit tests which actually make calls to the Transloadit API we’d not be worried about the eventual response or the fact that we’re in a local dev environment or something.
Of course, you guys may have some better suggestions on writing unit tests when dealing with APIs like yours, and I’d definitely be willing to hear out anything you have to say.
Thanks!