So in the provisioning white paper there is an example of using curl to
create/update a foreign source from the posted xml data.
# curl -X POST -H "Content-Type: application/xml" -d "${xml}" -u admin:admin
http://localhost:8980/opennms/rest/requisitions
I'm looking for a way to do the same thing, except using a form somewhat like
this:
<form action="/opennms/rest/requisitions" method="post">
<input type="submit" value="Upload" />
<input type="file" name="File" size="32" />
</form>
Currently still using 1.8 if that matters.
Ron
This e-mail message is being sent solely for use by the intended recipient(s)
and may contain confidential information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by phone or reply by e-mail, delete the
original message and destroy all copies. Thank you.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-devel mailing list
To *unsubscribe* or change your subscription options, see the bottom of this
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel