Calling REST web services from a classic asp page

前端 未结 7 1828
既然无缘
既然无缘 2020-12-01 01:16

I\'d like to start moving our application business layers into a collection of REST web services. However, most of our Intranet has been built using Classic ASP and most of

7条回答
  •  日久生厌
    2020-12-01 01:37

    You could use a combination of JQuery with JSON calls to consume REST services from the client

    or

    if you need to interact with the REST services from the ASP layer you can use

    MSXML2.ServerXMLHTTP

    like:

    Set HttpReq = Server.CreateObject("MSXML2.ServerXMLHTTP")
    HttpReq.open "GET", "Rest_URI", False
    HttpReq.send
    

提交回复
热议问题