Put the method in cowboy_rest's #state{}
Put the method in cowboy_rest's #state{}

nviennot/cowboy,binarin/cowboy,ferd/cowboyku,MSch/cowboy,piboye/cowboy,venkateshreddy/cowboy,callsign-core/cowboy_hybi00,paulperegud/cowboy,unisontech/cowboy,heroku/cowboy,heroku/cowboyku,cad627/cowboy,lpgauth/cowboy,omusico/cowboy,imdeps/cowboy,noname007/cowboy,odo/cowboy,CrankWheel/cowboy,callsign-core/cowboy_hybi00,manastech/cowboy,pap/cowboy,manastech/cowboy,hairyhum/cowboy,layerhq/cowboy,ninenines/cowboy,kivra/cowboy,dangjun625/cowboy,acrispin/cowboy,essen/cowboy,rbalint/pkg-erlang-cowboy,unisontech/cowboy,essen/cowboy,cad627/cowboy,rabbitmq/cowboy,binarin/cowboy,LineMetrics/cowboy,linearregression/cowboyku,layerhq/cowboy,grahamrhay/cowboy,276361270/cowboy,Reimerei/cowboy,yangchengjian/cowboy,bobos/ecweb,sile/cowboy,LineMetrics/cowboy,K2InformaticsGmbH/cowboy,LineMetrics/cowboy,lpgauth/cowboy,turtleDeng/cowboy,heroku/cowboy,yangchengjian/cowboy,piboye/cowboy,bsmr-erlang/cowboy