Update native-api.rst#6580
Conversation
Quotation marks are necessary in this curl command, otherwise bash cannot parse the URLs properly (and the ampersand (&) in the first of the two paths confuses it).
|
Whoops! I meant to say that I added this commit: 3835baa Time for coffee. ☕️ |
|
Thanks, @pdurbin! |
@BPeuch On the other hand, I'm still seeing some curl examples in that guide with un-quoted URLs that DO have ampersands in them... -? |
|
Hello, @landreev. I am responsible for the confusion: I forgot to remove certain local variables from the example before posting it, and there happened to be an ampersand in one of them. I later erased the contents of the variables (it was especially problematic for the admin token) but forgot to update my message elsewhere. Sorry about that. The general idea still is that certain characters might need escaping and the guidelines should specify that in case they pop up in a query. |
|
Yeah, I also noticed that there are no |
What this PR does / why we need it:
Quotation marks are necessary in this curl command, otherwise bash cannot parse the URLs properly (and the ampersand (&) in the first of the two paths especially confuses it).
Which issue(s) this PR closes:
Closes #6563