diff options
Diffstat (limited to 'webroot/js')
l---------[-rw-r--r--] | webroot/js/example.js | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/webroot/js/example.js b/webroot/js/example.js index 59cf1ee..3faf334 100644..120000 --- a/webroot/js/example.js +++ b/webroot/js/example.js @@ -1,14 +1 @@ - -function example_post() { - - var data = { - "key":"value", - } - var json = JSON.stringify(data); - - var xhr = new XMLHttpRequest(); - xhr.open("POST", "api", true); - xhr.send(json); - -} - +../../lib/js/example.js
\ No newline at end of file |