Hi,

What type of authentication are you using with solr? There are a few different 
options

-ufuk yilmaz

—

> On 23 May 2023, at 13:30, Marisol Redondo <marisol.redondo.gar...@gmail.com> 
> wrote:
> 
> Hi,
> 
> We have enable authentication in the solr installation, and I can't upload
> a config set to zookeeper to use in a collection using the API, I'm getting
> a fobidden error, as I need to pass the user and password.
> The command I'm using to upload is:
> curl -X POST --header "Content-Type:application/octet-stream"
> --data-binary @configset.zip "
> https://solrurl:8983/solr/admin/configs?action=UPLOAD&name=configName";
> 
> Is there any way of specifying the user and password when doing an API call
> to upload the collection?
> 
> Thanks

Reply via email to