I need to change this urlencoded code to JSON:
Query = "X=1234&Y=1234&Z=ZZ&ZZZ=12345&ZZZZ=12345"
I wrote this code, but I have a problem with Z parameter, I've received API response that 'Z is required'.
Query = "{""X"":""1234"", ""Y"":""1234"", ""Z"": {""ZZ"": {""ZZZ"":""12345"", ""ZZZZ"": ""12345""} } }"
Any help will be appreciated, thanks!