- Clone the repository
- Run
npm install
to install the dependencies - Run
npm start
to start the server - Send a GET request to
http://localhost:3002/image/:imageURL
with the following format:http://localhost:3002/image/https%3A%2F%2Fwww.google.com%2Fimages%2Fbranding%2Fgooglelogo%2F2x%2Fgooglelogo_light_color_92x30dp.png?width=100&height=100
NOTE: The imageURL
parameter must be encoded with encodeURIComponent
function, or the server will return an error.