Yes, that's the way.
Cheers
Andrea
On Tue, Oct 22, 2013 at 8:30 AM, Макс Кливер wrote:
> Sorry now i know my mistake.
> Command above only create blank style, To upload sld file i gonna use PUT
> method.
>
>
> On Tue, Oct 22, 2013 at 11:45 AM, Макс Кливер wrote:
>
>> And in console i get:
>>
Sorry now i know my mistake.
Command above only create blank style, To upload sld file i gonna use PUT
method.
On Tue, Oct 22, 2013 at 11:45 AM, Макс Кливер wrote:
> And in console i get:
>
> *D:\>curl.exe -v -u admin:geoserver -XPOST -H "Content-type: text/xml" -d
> "
> >tester
And in console i get:
*D:\>curl.exe -v -u admin:geoserver -XPOST -H "Content-type: text/xml" -d
"testerd:\tester.sld"
http://localhost
:8080/geoserver/rest/styles
* Adding handle: conn: 0xa27878
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToP
Hi.
I try to create style from sld file via rest. I do:
* curl.exe -v -u admin:geoserver -XPOST -H "Content-type: text/xml" -d
"testerd:\tester.sld"
http://localhost:8080/geoserver/rest/styles*
And in Geoserver i see empty style and error inside:
*Could not fin