What is CORS?
Cross-Origin Resource Sharing (CORS) is an HTTP-header based mechanism that allows a server to indicate any other origins (domain, scheme, or port) than its own from which a browser should permit loading of resources.
How CORS work?
In modern browsers due to security reasons cross-origin HTTP request is not allowed.
Whenever there is a CORS request browser will send a preflight request prior to sending the actual request to find out whether CORS request is valid or not.
The term algorithm is very familiar in the field of computer science and it acquires an important place in all computing systems.
An algorithm is any well-defined set of computational procedures that takes some value, or set of values, as input and produces some values, or set of values as output.
For example, we might need to sort a sequence of numbers in non-decreasing order.
Input: A sequence of
(a1, a2, a3,..., an).
Output: A permutation
(a1', a2', a3',..., an’) of input sequence such that
This problem is known as the sorting problem.
We will consider a…
This article focuses on plain GraphQL functionality.
GraphQL is a query language that provides a complete and understandable description of how to load data from a server. GraphQL enables declarative data fetching where a client can specify exactly what data it needs from an API.
REST has been a popular way to expose data from a server. But as the applications became more complex, people started facing problems with the REST architectural style. Let’s consider an example of a Movie Review System to understand this more.
Suppose we have three resources — Movies, Ratings, and Reviews. Our requirement is to…
This article focuses on basic overview of Neo4j and Graph Database.
What is Graph database?
Why Graph database?
A Developer with strong passion for self-improvement.