คำถามติดแท็ก node-request

9
ส่ง JSON ไปยัง HTTP POST Request
ฉันกำลังพยายามส่งคำขอ HTTP POST ไปยัง google QPX Express API [1] โดยใช้nodejsและrequest [2] รหัสของฉันมีลักษณะดังนี้: // create http request client to consume the QPX API var request = require("request") // JSON to be passed to the QPX Express API var requestData = { "request": { "slice": [ { "origin": "ZRH", "destination": "DUS", "date": …
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.