Excel VBA HTTP Post request



  • I would like so post a http request with VBA in Excel.
    This is the XML file:

    <?xml version="1.0" encoding="UTF-8"?>
    <eF:eFulfilmentXML xmlns:eF="http://rt.efulfilment.de/v1s7">
    <Authentication>
    <Action>UpdateImages</Action>
    <exchangePointId>281</exchangePointId>
    <user_id>xxxx</user_id>
    <accessKey>xxxxx</accessKey>
    <FilterNo>XML_RT</FilterNo>
    </Authentication>
    <UpdateImagesRequest>
    <Article>
    <ArticleId>0368</ArticleId>
    </Article>
    </UpdateImagesRequest>
    </ef:eFulfilmentXML>

    If i am sending the request i got always this error message.

    <?xml version="1.0" encoding="UTF-8"?>
    <ef:eFulfilmentXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ef="http://rt.efulfilment.de/v1s7">
    <ResponseCode>4</ResponseCode>
    <ResponseDescription><![CDATA[
    POST parameter 'xml' not hand over. Please transfer your xml by using this POST parameter. Other ways are not possible.
    ]]></ResponseDescription>
    </ef:eFulfilmentXML>

    I hope someone could help me.
    Thanks a lot.


  • administrators

    Looks like you are not sending the XML in post data. Can you share your code?


Log in to reply
 

Looks like your connection to Codingislove Forum was lost, please wait while we try to reconnect.