Protecting API URL Data from being seen. cURL?
问题 How can we password protect our Deployd data accessed via URL? Currently our users' data is visible on oursite.com/users. How can we make it password protected so that only we,the site developers, can see our users' data via oursite.com/users? (This is my first API and Deployd app.) Many, many thanks! I found the following, if any of these look like they would work: https://www.npmjs.com/package/dpd-curl-proxy https://www.npmjs.com/package/passport-oauth 回答1: Try in your 'get' event if (!me)