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

ASP.net Response to a HTTP Get from an external source

  • 20-08-2010 10:09am
    #1
    Registered Users, Registered Users 2 Posts: 2,793 ✭✭✭


    Hi,

    I'm receiving a HTTP post with some variables from an external website. They are expecting a response with only two lines, and they need be to be exactly that.

    I'm am writing the response as Response.Write but there is extra HTML being rendered and I need to avoid this.

    How can I do this?

    Many thanks in advance :)


Comments

  • Registered Users, Registered Users 2 Posts: 80 ✭✭terry_s




  • Registered Users, Registered Users 2 Posts: 2,793 ✭✭✭John_Mc


    The external website is reading my response. I don't think making a HTTP post to them will work?


  • Registered Users, Registered Users 2 Posts: 981 ✭✭✭fasty


    External site posts to a page you host. You read variable and do something then output them to the page. Is that right so far?

    Can you post some code and perhaps an example of what you want the response to be?


  • Registered Users, Registered Users 2 Posts: 2,793 ✭✭✭John_Mc


    fasty wrote: »
    External site posts to a page you host. You read variable and do something then output them to the page. Is that right so far?

    Can you post some code and perhaps an example of what you want the response to be?

    Yeah that's exactly what I'm trying to do. It turns out the external website was making a post instead of a get. Once that was changed, it started working :)

    Thanks for you help


Advertisement