How to add a JSON string in Query paramater of target URL.
I tried doing it using javascript to stringify it but it didn't work. There were lot of these %% symbols in the target URL.
for example
https://example.com/restapi?entity={"foo":"bar", "hi":"hello"}
@Vandana Prasad G , I don't think it's a great API design !! What exactly your API is doing ? Are you creating some entity / searching some entity ? Can you give more context about your API ?
-------------------------------
Anil Sagar
I'd suggest that you do either:
One of those two options ought to work.
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 |