mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-08 16:36:25 +00:00
Hmm it's a JSON syntax problem, not naming
This commit is contained in:
parent
e6f8efa745
commit
07261636e6
@ -15,10 +15,10 @@
|
|||||||
var url = OC.generateUrl('/apps/ocsms/push');
|
var url = OC.generateUrl('/apps/ocsms/push');
|
||||||
var data = {
|
var data = {
|
||||||
sms_count: 1,
|
sms_count: 1,
|
||||||
sms_datas: {
|
sms_datas: [
|
||||||
{"read": 1, "date": 1410524385, "seen": 0, "address": "+33612121212", "body": "testSMS", "id": 10},
|
{"read": 1, "date": 1410524385, "seen": 0, "address": "+33612121212", "body": "testSMS", "id": 10},
|
||||||
{"read": 0, "date": 1400524385, "seen": 1, "address": "+33614121212", "body": "test SMS 2", "id": 14},
|
{"read": 0, "date": 1400524385, "seen": 1, "address": "+33614121212", "body": "test SMS 2", "id": 14},
|
||||||
}
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
$.post(url, data).success(function (response) {
|
$.post(url, data).success(function (response) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user