DEV Community

Kurapati Mahesh
Kurapati Mahesh

Posted on

javascript: convert object to query params

Image description

Top comments (2)

Collapse
 
georgewl profile image
George WL

Does this also escape unsafe URL symbols? Like if I was to put something daft in like first: '&query=broken' ?

Collapse
 
kodmanyagha profile image
Emir Buğra KÖKSALAN

axios.getUri({ url, params })