Re: [Geoserver-users] Default Style via REST

2017-02-28 Thread David Alda Fernandez de Lezea
server-users] Default Style via REST On Tue, Feb 28, 2017 at 8:43 AM, David Alda Fernandez de Lezea <da...@hazi.eus<mailto:da...@hazi.eus>> wrote: Hi Martin, Thanks for your response. I tried again adjusting my url and body to yours but again without success.. I’m just run

Re: [Geoserver-users] Default Style via REST

2017-02-28 Thread Andrea Aime
On Tue, Feb 28, 2017 at 8:43 AM, David Alda Fernandez de Lezea < da...@hazi.eus> wrote: > Hi Martin, > > Thanks for your response. > > I tried again adjusting my url and body to yours but again without > success.. I’m just running out of ideas. > > Here are the response headers provided by

Re: [Geoserver-users] Default Style via REST

2017-02-28 Thread Rahkonen Jukka (MML)
Hi, If POST is not allowed, how about having a try with PUT? -Jukka Rahkonen- David Alda Fernandez de Lezea wrote: Re: [Geoserver-users] Default Style via REST Hi Martin, Thanks for your response. I tried again adjusting my url and body to yours

Re: [Geoserver-users] Default Style via REST

2017-02-27 Thread David Alda Fernandez de Lezea
: lunes, 27 de febrero de 2017 18:14 Para: David Alda Fernandez de Lezea CC: geoserver-users@lists.sourceforge.net Asunto: Re: [Geoserver-users] Default Style via REST We use the request below, and it works for us. URL:  %HOST%/rest/layers/%LYR% Body:  %STYLE% On Mon, Feb 27, 2017 at 1:24 AM

Re: [Geoserver-users] Default Style via REST

2017-02-27 Thread Martin Davis
We use the request below, and it works for us. URL: %HOST%/rest/layers/%LYR% Body: %STYLE% On Mon, Feb 27, 2017 at 1:24 AM, David Alda Fernandez de Lezea < da...@hazi.eus> wrote: > Hi, > > I'm developing a small program to automatically populate some satellite > images via REST. I

[Geoserver-users] Default Style via REST

2017-02-27 Thread David Alda Fernandez de Lezea
Hi, I'm developing a small program to automatically populate some satellite images via REST. I successfully populate them , but now I'm trying to set a specific style for one type of layer I'm populating but I'm getting some errors 405 and nothing else. I want that style to be the default