What is the name of the operation when we make an ajax request to the internal server that in turn takes information from external?

12

I always do this, but I do not know what the technical name is.

When I need to make a request, where I get information from an external content (for example facebook), I always use my server (via PHP) and I capture this request, only to capture it via ajax. >

Looking like this:

Talking to some friends here at SOPT, they told me its called Proxying , but I still had doubts (everything I found on the internet was in English.)

Is the name of this type of procedure really Proxying ?

Is there any other kind of name for this type of operation?

    
asked by anonymous 14.10.2015 / 15:30

2 answers

11
  

Proxy in English means proxy, proxy.

In the context of computing, it is any server that acts as an intermediary for clients requesting resources from other servers - and then you realize why the proxy analogy makes sense:

  • When you name someone as your attorney, you become authorized to do things that interest you. According to the Houaiss dictionary, it is a one that plays an intermediate role among stakeholders.
  • When you use a proxy server, it makes requests that are in your best interest to later return you, playing an middle role between the client and the final resource server, as well as the proxy.

The act of using procedures with a proxy server is called proxying. The operation you do is as usual and as unorthodox as possible, with nothing to de-characterize the concept, so I see no point in calling it anything other than proxying.

    
21.10.2015 / 22:07
9
  

Is the name of this type of procedure really Proxying?

Yes , it is. From the Wikipedia article ,

  

A proxy is a server that acts as an intermediary for requests from clients requesting resources from other servers.

This is a widely used solution to avoid conflicts with CORS specs .

  

Is there any other kind of name for this type of operation?

There are several. Because it is a feature built into a web service, the intermediate server can also be called a broker in>>, and the transaction itself, brokerage .

If the service simply passes HTTP calls, encapsulating calls in the format expected by the destination server, you can also be called tuneller .

    
21.10.2015 / 22:59