|
|
Line 1: |
Line 1: |
| ==Argument list too long==
| |
|
| |
|
| I'm trying to follow the validation instructions:
| |
|
| |
| $ base64 -w 0 /tmp/langpack.zip
| |
| $ curling -X POST -d '{"upload": {"type": "application/zip", "name": "langpack.zip", "data": "<paste-result-from-previous-line-here>"}}' https://marketplace.firefox.com/api/v2/apps/validation/
| |
|
| |
| I'm not able to paste the result of base64 into my terminal (I think the output is too long) and I'm also having trouble doing command substitution like this:
| |
|
| |
| $ curling -X POST -d "{\"upload\": {\"type\": \"application/zip\", \"name\": \"pl.zip\", \"data\": \"$(base64 -w 0 pl.zip)\"}}" https://marketplace.allizom.org/api/v2/apps/validation/
| |
| zsh: argument list too long: curling
| |
|
| |
| I also tried using xargs, but to no avail:
| |
|
| |
| $ base64 -w 0 pl.zip | xargs -I % curling -X POST -d '{"upload": {"type": "application/zip", "name": "pl.zip", "data": "%"}}' https://marketplace.allizom.org/api/v2/apps/validation/
| |
| xargs: argument line too long
| |
|
| |
| -[[User:StasM|StasM]] ([[User talk:StasM|talk]]) 09:37, 14 February 2015 (PST)
| |