| The GeoServer REST endpoint for styles supports two ways of creating new styles: 1. POST a configuration object (which includes style name, format, filename, etc.) to create the style, then PUT the actual style body. 2. POST a style body (optionally specifying a name as a parameter); the configuration will be automatically generated, and may be modified using PUT. Method 1 supports all style formats (SLD, CSS, YSLD, MBStyle). Method 2 only supports SLD, and should be fixed to also support all style formats. |