Working api request in integrations.server.controller