Skip to content

Option -n sendreminders.sh #1

Description

@marcogiorgio

Hi,
I've noticed that when I use the -n flag in the curl command showed in sendreminders.sh I get a 401 error as a response, whereas if I don't use it I get a 200...

From the curl man:

-n, --netrc

Make curl scan the .netrc file in the user's home directory for login name and password. 
This is typically used for FTP on Unix. If used with HTTP, curl enables user authentication. 
See netrc(5) and ftp(1) for details on the file format. 
Curl does not complain if that file does not have the right permissions (it should be neither world- nor group-readable). 
The environment variable "HOME" is used to find the home directory. 

Why is this flag used?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions