I’m trying to parse my URL with wildcards. The problem appears when I try to parse long strings with a wildcard. For example, my URL looks like this:
and this is my code:
get_object.setRestUrl(String.format(url, card_id, design_id, comment))
comment = "Something" it works, but when
comment = "Something something" , it goes on an error and says that it is “Unable to parse HTTP request”.
How is it possible to make suitable my code with long strings with wildcards? I know that when typing long string it gives URL that looks like this: