Update ?json query instructions

This commit is contained in:
Michael Jackson 2016-08-29 17:24:15 -07:00
parent 210799d353
commit 86c79d985e
1 changed files with 1 additions and 3 deletions

View File

@ -51,13 +51,11 @@ You may use the special `/bower.zip` file path in packages that contain a `bower
<tr>
<td>`json`</td>
<td>`undefined`</td>
<td>Return metadata about the resource at the current URL as JSON (e.g. `/any/path?json`). For directories, this generates a recursive listing of all files in the directory.</td>
<td>Return a recursive list of metadata about all the files in a directory as JSON (e.g. `/any/path/?json`). Note: this only works for directories.</td>
</tr>
</tbody>
</table>
**All other query parameters are invalid** and will result in a `403 Forbidden` response. This helps preserve the integrity of the cache for URLs with valid query strings.
### Suggested Workflow
For npm package authors, npmcdn relieves the burden of publishing your code to a CDN in addition to the npm registry. All you need to do is include your [UMD](https://github.com/umdjs/umd) build in your npm package (not your repo, that's different!).