locked
Handling API Responses in VB RRS feed

  • Question

  • User320184449 posted

    I'm trying to develop an app that will let me manage all my domain names through enom and I'm getting stuck here.  I'm up to the point where I can get a response from the server but I'm not sure how to grab just the responses I need to get my app to do what I want it to do.  In this example, I'm looking to grab just the "RRPText" response from their servers in VB, you can see below what responses I'm getting:

    Response Type Text:
    http://enom.cpssi.com/check.aspx?type=text

    Response Type HTML:
    http://enom.cpssi.com/check.aspx?type=html

    Response Type XML:
    http://enom.cpssi.com/check.aspx?type=xml

    Any ideas on how best to grab these responses would be greatly appreciated.  Thanks in advance!!

    Saturday, August 27, 2011 12:10 PM

Answers

  • User210672981 posted

    According to your description, I can’t reach the solution directly because the link you provide is broken.

    From my understanding, you want a way to get information from enom. Am I right?

    If yes, I suggest you use WebRequest to solve this problem.

     

    For more information about WebRequest Class, please visit

    http://msdn.microsoft.com/en-us/library/system.net.webrequest.aspx 

    Please refer the link below for the code snippets about how to use the WebRequest Class.

    http://forums.asp.net/p/1616797/4147687.aspx#4147687

    If you still have the problem, please let me know. I’ll try my best to help you.

    Hope it can help you.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 31, 2011 1:49 AM