我发送POST请求与$http
:angularjs HTTP POST请求坏400
$http({
method: 'Post',
url: urlBuilt,
headers: {'Content-Type': 'application/json'},
params: {"colCode":modCodeCol,"whereClause":clause}
});
当where子句是非常巨大的,我越来越坏请求400 error
。当where子句包含一个小字符串时,它可以工作。我们如何解决这个问题。
coud大家分享数据'whereClause'的例子? ? –