--restconf-default-encoding=string

              Specifies the default response encoding to use if  the  incoming

              request  does  not  have an indication of preferred content type

              (e.g., no Content-Type header, no  Accept  header).  Values  are

              'xml' and 'json'.  The default is 'json'.


The restconf-default-encoding parameter can be invoked via the command line:


user@system> netconfd-pro --restconf-default-encoding=xml


or configured in the /etc/yumapro/netconfd-pro.conf file:


#### leaf restconf-default-encoding
#
# Specifies the default response encoding to use if the
# incoming request does not have an indication of
# preferred content type (e.g., no Content-Type header,
# no Accept header). Values are 'xml' and 'json'.
#
# restconf-default-encoding json
#

restconf-default-encoding=xml