Manhattan Associates Interview Question

1. Java code to fetch resources from server using get method.