Axios GET Request Param with Whitespace
问题 Goal I want to pass query params for a GET request using axios . The param value is a variable of type string and has whitespace. Problem It seems axios is encoding the param in a format that my backend does not understand. I have done research on axios encoding and it appears axios encodes whitespace to a + and not %20 . Example Let's say you have this request: const whitespace = "white space"; const encodeWhitespace = encodeURI(whitespace); const noSpace = "no"; axios.get('/api', { params: