jagger: url encodeing logic
import java.net.URLEncoder
def input = "MASTER;USER;DEBASIC;DEEXTENDED;DECATEGORY;USER_PREFERENCES;PPB;SSO_CODE;ADDITIONAL_STATUSES;USER_PREFERENCES_SPEND;DEFAULT_USERS;OBJECT_LINK;CLASS"
def encoded = URLEncoder.encode(input, "UTF-8")
// Replace the '+' with '%20' for space encoding if needed, Groovy handles this automatically
encoded = encoded.replace("+", "%20")
println encoded
-------
https://www.jdoodle.com/execute-groovy-online
execute:
---
Solved: CPI: use Query parameters in external API call - SAP Community
https://my.api/adress?${property.name3}&${property.name3}