Created
September 24, 2018 06:31
-
-
Save Valindo/7a35885a19667597a9ba261ce5eb8fd6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var body = {"soap:envelope":{"$":{"xmlns:soap":"http://www.w3.org/2003/05/soap-envelope","xmlns:loc":"http://www.globe.com/warcraft/wsdl/locationmgt/"},"soap:header":[""],"soap:body":[{"loc:getlocationbymsisdn":[{"_":"Optional: Optional: Optional: Optional: Optional: Optional:","csp_txid":["127917398719237"],"cp_id":["10"],"cp_userid":["123"],"cp_password":["akshdkahdk"],"serviceid":["12312313"],"productid":["1243143"],"msisdn":["091234567891"]}]}]}} | |
const { | |
"soap:envelope": { | |
"soap:body": [{ | |
"loc:getlocationbymsisdn": [{ | |
"csp_txid": [txid], | |
"cp_id": [cpid], | |
"cp_userid": [cpuserid], | |
"cp_password": [cppassword], | |
"serviceid": [serviceid], | |
"productid": [productid], | |
"msisdn": [msisdn] | |
}] | |
}] | |
} | |
} = body; | |
console.log(cpid); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment