Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
protogrid:json_api_endpoint_mailsend [2020-07-28 08:27] – [JSON API Endpoint mailsend] 85.1.6.98 | protogrid:json_api_endpoint_mailsend [2020-07-28 08:29] – [Example client-side jQuery function to send mail in web application] 85.1.6.98 | ||
---|---|---|---|
Line 46: | Line 46: | ||
}); | }); | ||
| | ||
- | $.post(" | + | $.post({ |
- | { | + | url: " |
- | to: " | + | data: JSON.stringify({ |
- | subject: " | + | "to": " |
- | body: " | + | " |
- | }, | + | "subject": " |
- | function(data, status){ | + | "body": " |
- | alert(" | + | }), |
- | }); | + | |
+ | }).done(function (response) { | ||
+ | alert(" | ||
+ | }); | ||
</ | </ |