>
>
> > $ curl -kSs -H "Content-Type: application/json" -H 
> > "Accept:application/json" -u admin:$PASSWORD 
> > https://localhost/api/v2/discovered_hosts/mac008cfaed69c8/refresh_facts 
> | 
> > jq '.' 
> > { 
> >   "status": "404", 
> >   "error": "Not Found" 
> > } 
>
> This API call is not HTTP GET but HTTP PUT. 
>
>
Thanks, Lukas, it certainly works now. I thought of that, but "GET" method 
in production.log from a WebUI threw me off the right course.
 

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to