I'm getting the following error when i run your code from IDE: `java.net.SocketException: Connection reset` But if i call the api endpoint from postman rest client everything works fine.