When to use SOAP over REST Web Service. Is REST better than SOAP?

When to use SOAP over REST Web Service.
Is REST service better than SOAP service?
Difference between SOAP and REST Web Service. OR
SOAP Vs REST Web Service.


When to use SOAP over REST Web Service. Is REST service better than SOAP service. Benefits of SOAP over REST service. 
soap vs rest api
SOAP vs REST

Download binary file AngularJS + REST service

Download binary file using AngularJS + REST service

Many a times we need to download file via POST request, because the request contains extra parameters to pass and GET request is not suitable.   
download file from server example in angularjs
Download file from server example in AngularJS

Lets see example of downloading ZIP file via POST request. 

For downloading file in Angular2 look at this post: Download file in Angular2

Example demonstrates downloading binary file using Javascript and REST service


Once I have faced requirement of downloading binary zip file using AngularJS + REST service and thought of sharing the code, It may help to someone facing similar requirement.

Difference between SOAP and REST Web Service.

Difference between SOAP and REST Web Service. OR
SOAP Vs REST Web Service.


SOAP Vs REST Web Service, when to use SOAP, When to use REST, Which to choose, What are the benefits. 
when to use soap and when to use rest web services
When to use soap and when to use rest web services

SOAP stands for Simple Object Access Protocol, whereas REST stands for REpresentational State Transfer.

lets see what exactly is the need of SOAP and REST and then we will see the difference between them.

For communication between language and platform independent applications over internet, we need some standard protocol for exchanging information, SOAP and REST protocol mainly defines a way though which messages should be exchanged.

Let's see important difference between SOAP and REST Service which will help you decide which to choose among both.