Not quite sure if I should even be doing this. What I am wanting is I will be dynamically generating my sld file and it looks like when you update the sld in the geoserver admin it does a reload. So I tried to do a reload using the rest api and curl and it does not appear to work.
Here is my Curl
curl -uadmin:password-XPOST http://localhost:8080/geoserver/rest/reload
If there is another way to clear everything so my sld reloads that'd be awesome as well. Just needing to get this working and am not sure why it isn't.