grails中,
@Transactional(readOnly = true)
class UserController extends RestfulController {
static responseFormats = ['json', 'xml']
UserController() {
super(User)
}
}
save方法的請求參數格式是什麼格式?用curl 的post json命令,結果失敗。急需幫助,好心人幫幫忙呗!!!在線等待!
參數格式是 key=value&key1=value1