The http client needs to authenticate with username (default: "admin") and
password (default: "password" or "admin").

On Linux, Mac and Windows, you can create a ~/.netrc (Windows:
%HOME%\_netrc ) file that httpie, curl, etc will use:
https://github.com/bagder/everything-curl/blob/master/usingcurl-netrc.md

-Mike

On Wed, Sep 25, 2019, 4:35 PM Bin Li (BLOOMBERG/ 120 PARK) <
bli...@bloomberg.net> wrote:

> Hi, We are trying to access the api on :24817 from remote server. We have
> add ALLOWED_HOSTS = ['*'] to settings.py and update the gunicorn to bind
> 0.0.0.0:24817. Still getting a 403 Forbidden error. What else should we
> update to enable the remote api access?
>
> Thanks
> _______________________________________________
> Pulp-list mailing list
> Pulp-list@redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
_______________________________________________
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to