Attaching the POST method example
NOTE: In order to use this, you will need to change the file extension from .txt to .java
DISCLAIMER:
This
code has been made available for demonstration purposes ONLY. Please
note that no part of this code is officially supported by Cisco or any
of its developers. There is no promise that this code will work
appropriately in any given environment. It is strongly discouraged to
use this code in a production environment. Neither Cisco nor its
developers are responcible for any loss, whether direct or indirect,
due to the use of this code.