从money.yandex.ru获取参数

时间:2014-10-19 08:49:00

标签: node.js express request

我在项目中使用node.js。我需要从远程服务器获取参数。它用POST方法发送数据。我可以使用console.log(JSON.stringify(req.body)转储价值。但我无法将此值分配给节点变量。

输出console.log:

{"test_notification":"true","sender":"41001000040","amount":"675.96","operation_id":"test-notification","sha1_hash":"bff14842b2411a237f8303154390769f7cda7ab4","notification_type":"p2p-incoming","codepro":"false","label":"","datetime":"2014-10-19T08:39:03Z","currency":"643"}

请帮帮我。

0 个答案:

没有答案