Update server.js

changed curl