Send Post Data to url without using "GET url"

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello. I am trying to build a client that will send POST commands to Adobe InDesign Server. InDesign Server does not support GET requests, only POST. Is there a why to send a POST only request to a url?

    My goal is to send a POST request to Indesign Server and instruct it to run an Adobe script. I can do this with Postman by:

    1. Sending POST request to a url
    2. Add body info (the body info is below)


    <soapenv:Envelope xmlns:soapenv="Please login to see this link." xmlns:soap="Please login to see this link.">
    <soapenv:Body>
    <soap:RunScript>
    <runScriptParameters>
    <scriptLanguage>javascript</scriptLanguage>
    <scriptFile>C:\temp\INDDserverImport4.jsx</scriptFile>
    <scriptArgs>
    <name>templateName</name>
    <value >Pocket Book</value>
    </scriptArgs>
    <scriptArgs>
    <name>appAction</name>
    <value>import</value>
    </scriptArgs>
    <scriptArgs>
    <name>myAsset</name>
    <value>""/c/temp/BK90079833.docx""</value>
    </scriptArgs>
    </runScriptParameters>
    </soap:RunScript>
    </soapenv:Body>
    </soapenv:Envelope>

    Any suggestions would be appreciated. Thanks!

  • The GET object does send the request as POST, so this is not your problem. The object only sends key/values as form data, you need XML. Even if you set the header to application/xml, you cannot put your XML content behind withount the equal sign of the "Add POST data" key=value structure. I also didn't work to glue the content to the "Set custom header"

    We had a similar problem here.
    Please login to see this link.

    So the closest you can get is setting the header to "Content-Type: application/xml" and setting the KEY of Add POST data to your XML, but it might be to complex. In the end you have what you want with an extra "=" behind ...


    It would work with an extra infrastucture inbetween, a small PHP script on a server which receives the malformed request and send a repaired one to the Indesign Server or you pay someone coding an extension?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!