bmgriner
15 years agoFrequent Contributor
Mock Rest Service Work-Around Problem
I am using the Mock rest service work around where I set the docroot and then use the onRequest script to specify a static file to return. It was working great until I started testing the POST method. This work around does not work for the POST method. I verified that it does not even hit the onRequest script when you are doing a POST. I just want static data passed back during a POST operation the same as a GET operation.