So, the first thing you want to decide is which technology you want to choose. If you want to use Java I would recommend building a rest service with spring. Takes about 5 minutes with those two guides:
Rest Web Service: https://spring.io/guides/gs/rest-service/
Rest Client: https://spring.io/guides/gs/consuming-rest/
IDE: Springt Tool Suite
Just follow the instruction! Your task will be part of the service method i.e. “translate”.
solved Java translator [closed]