Unable to format JSON data to call 3rd party webservice

Anyway, I don’t see a problem with your code (assuming you used real URL and not the word “url”).