Last active
September 29, 2020 05:30
-
-
Save fzn0x/98eaba3506af58eee89883abfefb9b3c to your computer and use it in GitHub Desktop.
Integrasi API Cek Mutasi Javascript
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
const qs = require("qs"); | |
const axios = require("axios"); | |
let data = qs.stringify({ | |
search: { | |
type: "credit", | |
}, | |
}); | |
await axios.post( | |
"https://api.cekmutasi.co.id/v1/bank/search", | |
data, | |
{ | |
headers: { | |
"Api-Key": "apikey", | |
}, | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment