allow get via parameters and post via json