Context: Recently one of our Linux administrator requested us to provide an API to update atlassian wiki(confluence) in an automated way through some of their script(script will generate an output file - According to atlassian wiki storage format and pass that output file as confluence content). I did google to see any one has already created a REST API based, but I didn't find. so created this module and sharing with other people.
Modules dependency:
MIME::Base64, REST::Client and JSON
Steps:
Modules dependency:
MIME::Base64, REST::Client and JSON
Steps:
- Copy the below perl module(REST.pm) in the perl library path(folder hierarchy should be <perl_lib>/Confluence/Client/REST.pm
- Code to update the page: