· 7 years ago · Sep 03, 2018, 08:38 AM
1const payload =
2 {
3 device_id: 'ASDACCAS',
4 device_type: 'Web',
5 device_version: '1.2',
6 device_user_id: 'ASDBADKKK1234AS'
7 }
8 axios({
9 method: 'post',
10 url: 'https://stageapi.myapi.com/v3_2/user/splash',
11 data: payload,
12 headers: {
13 'secret-key': 'mysecretkey',
14 'Content-Type': 'application/json'
15 },
16 })