What is the difference between SOAP and REST webservices? Can SOAP be RESTful?

前端 未结 4 1987
迷失自我
迷失自我 2020-12-30 06:48

From MSDN magazine https://msdn.microsoft.com/en-us/magazine/dd315413.aspx and https://msdn.microsoft.com/en-us/magazine/dd942839.aspx I understand that

When RESTful

4条回答
  •  难免孤独
    2020-12-30 07:44

    Yes there is differences.

    You endpoints in the service will differ for each other.

    You can use all the HTTP verbs without problems for your RESTful service.

    In your RESTful you might wanna send json instead of XML. Look at the example right under here.

    
      
        
        
      
    
    

提交回复
热议问题