Difference between Web API and Xml HttpRequest in JavaScript?

 Difference between Web API and Xml HttpRequest? 

WebAPI 

XmlhttpRequest 

It works in Asynchronous Process 

It works in Asynchronous and Synchronous Process 

Web API is low code   

XmlhttpRequest has more code.   

To view the received and sent data the page should be refresh  

To view the received and sent data the page refresh is not required 

 

Comments

Popular posts from this blog

Relationship Behaviours in D365 crm

Call Action Through JavaScript

Power Apps Cheat Sheet