How to connect to MongoDB using PhantomJS
问题 I'm Running OSX. Thought I could find documentation somewhere, but could not. 回答1: You can use a MongoDB REST client: Sleepy.Mangoose: It's the best IMO MongoDB REST: It looks promising, but is not complete yet and has some weird bugs (for example, it refused to send large requests (more than 80,000 characters) and it took me 3 hours to find what was wrong with it) MongoDB Java REST server You can connect directly to the rest server from you injected javascript (use jQuery's ajax method or