rdm-app icon indicating copy to clipboard operation
rdm-app copied to clipboard

API Content-Type

Open fxedel opened this issue 6 years ago • 3 comments

The JSON and Proto API (e.g. http://rdm.openlighting.org/api/json/1/manufacturers) both return Content-Type: text/plain in their headers. However, common REST APIs (like this) use Content-Type: application/json.

A nice advantage in Firefox is that Content-Type: application/json urls are automatically JSON parsed and prettyprinted (with foldable arrays/objects).

fxedel avatar Oct 15 '17 16:10 fxedel