Feature/json request

Why prefer this function over the SERVER var?