Skip to main content

Ways to apply Cross origin Domain XMLHttpRequest

Cross Origin Domain XMLHttpRequest
Over the years, JavaScript and Web programming have grown tremendously seeing several revisions and changes to suit modern day needs, yet the same origin policy remains.  The fundamental purpose of this policy is to prevent JavaScript from making requests across domain boundaries, in the process instigating various hacks for making cross-domain requests. Here’s where Cross-Origin Resource Sharing (CORS) helps. Web administrators, server developers and front-end developers are the likely lot who find this technology more useful when they need to access resources across domains, servers, protocol or port. 

Additional HTTP headers are used to gain permission to access resources from a different domain server, protocol or port than the one from which the current document originated. It is to be noted that, modern browsers to mitigate any risks during cross-origin HTTP request use XMLHttpRequest or Fetch.

Cross Origin Domain XMLHttpRequest is detailly discussed here https://goo.gl/LRxSFv

Comments

Popular posts from this blog

Future Focus Infotech Digital Business & Transformation | Introduction

About Us Future Focus Infotech Pvt. Ltd. (FFI) – an established IT solutions provider for 20 years – offers innovative software services . Resources define the competency of an IT services organization and we have proven track record of operating a successful offshore/onshore model. The US office (Focus America Inc) was established in 2000 and the UAE (Future Focus Infotech FZE) in 2011. Our large pool of resources include 3,500+ skilled/trained employees in IT Solutions and Infrastructure Management – who are available offshore in India, US, and UAE with a “ready-to-serve” attitude. With such a diverse presence, we are successfully expanding into other markets proving ourselves as a global professional services firm. A unique combination of our quality processes, information security standards and ISO certifications brings us repeat business for high-class projects from our Tier 1 clients. Being ISO 9001 certified since 2005, our approach is always quality led. Our Qualit

Implementing md-autocomplete with AngularJs

AngularJS  is a JavaScript-based open-source front-end web application framework that is incredibly popular among developers as it provides  an excellent  toolset  to build an application most dynamically with rich interactive features and functionalities  for a real-time experience. Mostly used in  Single Page Application (SPA) projects,  AngularJS models are JavaScript objects which makes it easy to code, test, maintain reuse, and most importantly free. When it comes in one of its input   component called “md-autocomplete” these are the points to consider while implementing it during development.   It displays a dropdown of all possible matching content to user’s query. User will be able to pick required content from the drop-down that would have all the potential matches based on the search characters entered by him/her. md-autocomplete is different from browser’s autofill feature. It allows user to key-in any value but will not allow the user to select a value which

Manual Testing Vs Automated Testing

Software testing is done to ensure a defect free application while meeting all the requirements in terms of quality, functionalities and performance as laid in the SLA. However, as the testing parameters get complex software testing gets tougher and challenging. Accurately deciding the testing option, whether Manual or Automated, is easier said than done. Let’s see what they offer. In manual testing, test cases are executed manually without any support from tools or scripts. It is a process in which the software’s features and functionalities are tried like an end user to find whether it meet the goals. On the other hand, Automated testing is executed with the help of software tools, scripts and is performed by repeating pre-defined actions. It is more reliable with high degree of accuracy compared to manual testing.  You can execute test cases significantly faster as multiple tests can be run in parallel, made possible by distributing test cases across different machines.