Created
December 8, 2018 02:33
-
-
Save itsalb3rt/fc1155182cbaddd5a5b34f2b187febba to your computer and use it in GitHub Desktop.
This file contains 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
//La documentacion oficial no indica uso | |
const params = new URLSearchParams(); | |
params.append('name', name); | |
params.append('foo', bar); | |
params.append('description', description); | |
axios({ | |
method: 'post', | |
url: 'http://localhost/controller/action', | |
data: params | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment