Perficient Interview Question

Json format REST API request and response Reverse the string without using temp variable