Home
»
Posts filed under Web Service
Download binary file AngularJS + REST service
in
AngularJS,
Miscellaneous,
Web Service
- on 11:35:00
- No comments
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.
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.
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 |
Lets see example of downloading ZIP file via POST request.
For downloading file in Angular2 look at this post: Download file in Angular2
For downloading file in Angular2 look at this post: Download file in Angular2
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.
in
Interviews,
Java,
Web Service
- on 10:28:00
- No comments
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 |
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.






