• HTTP:

    • Login to the device by posting username and password to post:hostname(<DEVADDR>):ssl(true):/auth.sel

    • From HTTP response, retrieve session_id and post it to post:hostname(<DEVADDR>):ssl(true):/do_export.sel

    • Check the status of configuration file generation using post:hostname(<DEVADDR>):ssl(true):/status.sel

    • If status returns 'done', start file download using post:hostname(<DEVADDR>):ssl(true):/downloads/export_settings.xml

    • Logout of the device post:hostname("+DEVADDR+"):ssl(true):/logout.sel"