我發送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'的例子? ? –