Q:

Submit an App by Url to Firefox Marketplace

I can install it with URL, but i can't upload to firefox marketplace.
but i have 2 errors:
JSON Parse Error

Error: The webapp extension could not be parsed due to a syntax error in the JSON.
No JSON object could be decoded: line 1 column 0 (char 0)

well the json is this:
{
  "name": "Snake",
  "description": "Snake in html and js",
  "launch_path": "/index.html",
  "developer": {
    "name": "ZiTAL",
    "url": "https://github.com/ZiTAL/snakejs"
  },
 "icons": {
    "128": "/img/snake-128.png"
  },  
"installs_allowed_from": ["*"]
}

Second error:
Manifests must be served with the HTTP header "Content-Type: application/x-web-app-manifest+json". See https://developer.mozilla.org/docs/Web/Apps/Manifest#Serving_manifests for more information.

well if i downloaded with wget:
wget http://myurl/manifest.webapp

the header is OK
HTTP eskaera bidalia, erantzunaren zain... 200 OK
Luzera: 267 [application/x-web-app-manifest+json]
Saving to: ‘manifest.webapp’

A:

To validate the app, you need to put the manifest.webapp url, not the app url:
http://myurl/manifest.webapp

