I have a Javascript object like:
var obj = {
name: "Omer",
age: 30,
siblings: 3
}
Is there a way I can covert this into a string like this:
name=Omer&age=30&siblings=3
I have tried it with JSON.stringify()
but it doesn't giving me the result I'm looking for.
The result is like this:
{"name":"Omer","age":"30","siblings":"3"}