Glad to hear it worked Vijay.
I don't know the exact kind of data being passed but if it contains special characters, you might want to consider escaping them. You could refer to this URL for more info https://perishablepress.com/how-to-write-valid-url-query-string-parameters/
You do not need to do this if the data you are sending across does not contain special characters like "&" which should be replaced by "&" as an example.
Cheers,
Ash