Skip to content

dotCMS/plugin-xmltool-with-auth

Repository files navigation

XMLTool with Auth

Description

This tool reimplements the XMLTool included with dotCMS but adds the ability to use basic HTTP-AUTH and also to do a POST and pass a map of parameters as data

Usage

viewtool: $xmlauthtool

#set($data = $contents.getEmptyMap())
#set($dummy = $data.put("var1", "here is var 1"))
#set($dummy = $data.put("var2", "var2"))

#set($xml = $xmlauthtool.read("https://myxmlpost.com/postToMe.xml", "username", "password", $data))

About

This is just the dotCMS XMLtool that can do basic HTTP Auth and can also handle posts with variables

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages