init
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -64,9 +64,9 @@ | ... | @@ -64,9 +64,9 @@ |
| 64 | type:'post', | 64 | type:'post', |
| 65 | url:apiBaseUrl + targetUrl, | 65 | url:apiBaseUrl + targetUrl, |
| 66 | cache: false, | 66 | cache: false, |
| 67 | data:data, | 67 | data:JSON.stringify(data), |
| 68 | dataType:'json', | 68 | dataType:'json', |
| 69 | contentType: "application/json; charset=utf-8", | 69 | contentType: "application/json", |
| 70 | success:function(data){ | 70 | success:function(data){ |
| 71 | alert('success'); | 71 | alert('success'); |
| 72 | }, | 72 | }, | ... | ... |
-
Please register or sign in to post a comment