You are not logged in.
(sorry for the terrible English, it's not my first language)
Hi everyone, I have some trouble understanding how the aur web rpc thing works.
My problem is when I try to retrieve package information from the aur via rpc with cUrl,
for example
curl -X GET -g -o temp3.json https://aur.archlinux.org/rpc/?v=5&type=info&by=name&arg[]=brave
downloads the HTML page instead of the JSON. Instead if I try to do the same thing with the official repositories, ie
curl -X GET -g -o temp4.json https://archlinux.org/packages/core/x86_64/coreutils/json/
it works.
What I'm doing wrong? Is out there more extensive documentation than the wiki page? Thanks in advice
Offline
This is a quoting issue. Enclose the url in double quotes to prevent bash from interpreting special characters like the ampersand.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Now it works, Thank you!
Offline