Dinesh Kumar Ramakrishnan wrote:We cannot directly modify the request URL in intercept method, Since url is const in HttpRequest
We need to close the request object and modify URL something like below.
priyanshi bhardwaj wrote:hii.. Actually I am new to fiddle tool can you please tell me how to post code on fiddle.
priyanshi bhardwaj wrote:I fixed the above error thanks but now i am getting another error
Cannot find module './lib/mongodb'
at Function.Module._resolveFilename (module.js:469:15)
this error is for app.js. Can you help me with this but still i am unable to retrieve database i have checked all the things which you have mentioned above they exists in the database.