【发布时间】:2015-09-03 05:01:44
【问题描述】:
我正在发送这个 POST,我想在发送之前查看请求中发送的字符串。
这里是Plunker
$http.post('/someUrl', {msg:'hello word!'}).
then(function(response) {
// this callback will be called asynchronously
// when the response is available
}, function(response) {
// called asynchronously if an error occurs
// or server returns response with an error status.
});
我想我想要做的是查看正在发送到服务器的 JSON 字符串。
【问题讨论】:
-
不清楚。你想说什么?
-
摸摸,现在清楚了吗?
标签: javascript json angularjs post request