Those help pages indicate that to add a role you should use

curl -X POST
http://localhost:8080/geoserver/rest/security/roles/role/EDIT_ROLE -H
 "accept: application/json" -H  "content-type: application/json"

rather than sending a file to
http://localhost:8080/geoserver/rest/security/roles as you are trying

Ian

On Thu, 20 Feb 2020 at 20:01, Fernando Quadro <[email protected]> wrote:

> Hi Olyster,
>
> I'm following the steps in the documentation (from this link), but I'm not
> getting it. It seems to me that it is not 100% functional.
>
> Best regards,
>
> Fernando Quadro
> http://www.fernandoquadro.com.br
> https://www.linkedin.com/in/fernandoquadro/
>
>
> Em qui., 20 de fev. de 2020 às 16:31, Olyster <[email protected]>
> escreveu:
>
>> Hi,
>>
>> this might give you answers :
>> https://docs.geoserver.org/latest/en/api/#/latest/en/api/1.0.0/roles.yaml
>>
>> Also, Postman is a very good tool to perform tests with REST API.
>>
>> Good luck
>>
>>
>>
>> --
>> Sent from:
>> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>>
>>
>> _______________________________________________
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 
Ian Turton
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to