-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Description
In zsh this works:
> curl 'https://qrng.anu.edu.au/API/jsonI.php?type=uint8&length=10'
{"type":"uint8","length":10,"data":[214,140,44,142,254,214,185,107,213,30],"success":true}
but this doesn't
> resty https://qrng.anu.edu.au/API
> GET /jsonI.php -q "type=uint8&length=10"
{"success":false}
It appears that resty quotes the ampersand:
> GET /jsonI.php -q "type=uint8&length=10" --dry-run
curl -sLv --data-binary '' -X GET -b "/home/me/.resty/c/qrng.anu.edu.au" -c "/home/me/.resty/c/qrng.anu.edu.au" "https://qrng.anu.edu.au/API/jsonI.php?type=uint8\&length=10"
am I doing something wrong?
Metadata
Metadata
Assignees
Labels
No labels