Last active
February 24, 2024 12:18
-
-
Save ho0527/c159112fb7aaaf8934877fa8dcc08d3e 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
| ajax("POST","https://exp.com/path/to/link",function(event,data){ | |
| console.log(data) | |
| },JSON.stringify({ | |
| "data": "data" | |
| }),[ | |
| ["Content-Type","application/json"], | |
| ["Authorization","Bearer "+token] | |
| ],function(event){},[ | |
| function(event){},function(event){},function(event){},function(event){} | |
| ],[ | |
| ["error",function(event){ console.log("error") }] | |
| ] | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment