I have a JSON as:
“{”“incident”" : 123, ““text””: “”" + VAR + “”", ““entry type””:1}"
VAR=“abc “payment” def”
When I pass the VAR into JSON and do Http request - I receive an error from API. It seems to be because of quotes before and after “payment”.
Also, I tried to hardcode VAR into the JSON but have a problem with syntax.
Need help with this issue. Thanks.