def send_edit_string(self, nexus_host, path_snip, body_snip,<EOL>check_to_close_session=True):
starttime = time.time()<EOL>LOG.debug("<STR_LIT>",<EOL>nexus_host, path_snip, body_snip)<EOL>self.client.rest_post(path_snip, nexus_host, body_snip)<EOL>self.capture_and_print_timeshot(<EOL>starttime, "<STR_LIT>",<EOL>switch=nexus_host)<EOL>
Sends rest Post request to Nexus switch.