Edit WebSubmit Function

Main Menu

Enter Function Details:

Notify_URL Function Details:
   
Function Name: Notify_URL
Function Description:
Function Documentation:
Access a given URL, and possibly post some content.

Could be used to notify that a record has been fully integrated.
(the URL is only accessed once the BibTask created by this
function runs in BibSched, not the when the function is run. The
BibTask uses a task sequence ID to respect ordering of tasks)

if URL is empty, skip the notification.

@param parameters: (dictionary) - contains the following parameter
     strings used by this function:

     + url: (string) - the URL to be contacted by this function
                       (must start with http/https)
                       If value starts with "FILE:", will look for
                       the URL in a file on curdir with the given name.
                       for eg: "FILE:my_url"
                       (value retrieved when function is run)

     + data: (string) - (optional) the data to be posted at the
                        given URL.  if no value is given, the URL
                        will be accessed via GET.
                        If value starts with "FILE:", will look for
                        the data in a file on curdir with the given name.
                        for eg: "FILE:my_data"
                        (value retrieved when function is run)

     + content_type: (string) - (optional) the content-type to use
                                to post data. Default is 'text/plain'.
                                Ignored if not data is posted.

     + attempt_times: (int) - (optional) up to how many time shall
                              we try to contact the URL in case we
                              fail at contacting it?

     + attempt_sleeptime: (int) - (optional) how many seconds to
                                   sleep between each attempt?

     + admin_emails: (string) - (optional) list of emails (comma-separated
                                values) to contact in case the URL
                                cannot be accessed after all attempts.
                                If value starts with "FILE:", will look for
                                the emails in a file on curdir with the given name.
                                for eg: "FILE:my_email"
                                (value retrieved when function is run)

     + user: (string) - the user to be used to launch the task
                        (visible in BibSched).  If value starts
                        with"FILE:", will look for the emails in a file on
                        curdir with the given name.
                        for eg:"FILE:my_user"
                        (value retrieved when function is run)
 

Parameters for Function Notify_URL:

Parameter  
None

Add Parameter to Function Notify_URL:
Add Parameter: Select a parameter to add to function:    -Or-  Enter a new parameter: