Update ?json query instructions
This commit is contained in:
parent
210799d353
commit
86c79d985e
|
@ -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!).
|
||||
|
|
Loading…
Reference in New Issue