def uri = new UriBuilder('http://someurl.com/api')
I want to append /$contacId/PhoneNumber
to the above uri
.
How Do I handle this case
def uri = new UriBuilder('http://someurl.com/api')
I want to append /$contacId/PhoneNumber
to the above uri
.
How Do I handle this case
One-Liner using UriBuilder:
Output:
Test:
Copy-paste the code into https://groovy-playground.appspot.com/