1 Reply Latest reply on Sep 5, 2013 7:27 PM by Sean_Wilson

    PostNetText with custom mimetype ( application/xml).

    tware668 Level 1

      I'm trying to post to a rest instance, but the instance requires application/xml mimetype to be specified. I don't seem to be able to do this using postnettext.


      my code is of the form


                mime = "application/xml"


                netid1 = postnettext( "", xml_job_text, "Windows", mime)



      which comes back with a netdone of true and a neterror of "" (no text at all). The job submission is ignored. Any thoughts as to what stupid thing I'm doing wrong?