Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

HTTP POST from T-SQL

  • 14-03-2007 10:08am
    #1
    Closed Accounts Posts: 216 ✭✭


    Hey,

    I have setup a stored procedure to send a HTTP POST to a URL using:

    EXEC @iHr = sp_oacreate 'MSXML2.ServerXMLHTTP.3.0', @iObject OUTPUT
    EXEC @iHr = sp_oamethod @iObject, 'open', null, 'POST', @sURL
    EXEC @iHr = sp_oamethod @iObject, 'send', null
    EXEC @iHr = sp_oagetproperty @iObject, 'responseText', @sResponseText OUTPUT

    Does anyone know how I would specify Form parameters so I could mimic a full HTTP POST?

    Thanks
    Gogul


Comments

Advertisement