Encore POST request in json