spring boot call rest api with parameters