Open emanuelez opened 6 years ago
I'm trying to do a Github query search. If I use the URL directly then I can type something like:
https://api.github.com/search/issues?q=state:open
but if I want to use the parameters via Javascript options with something like:
{ q: "state:open" }
then the : will be URL escaped making the URL:
:
https://api.github.com/search/issues?q=state%3Aopen
which does not work.
I have the same problem.If my params is Chinese, it will be URL escaped.I hope to support similar encodeURI function.
I'm trying to do a Github query search. If I use the URL directly then I can type something like:
but if I want to use the parameters via Javascript options with something like:
then the
:
will be URL escaped making the URL:which does not work.