Prototype of json request