Skip to content

Instantly share code, notes, and snippets.

Avatar

Douglas Naphas douglasnaphas

View GitHub Profile
@akexorcist
akexorcist / index.js
Last active Oct 31, 2020
Axios post method requesting with x-www-form-urlencoded content type
View index.js
const axios = require('axios')
const qs = require('querystring')
...
const requestBody = {
name: 'Akexorcist',
age: '28',
position: 'Android Developer',
description: 'birthdate=25-12-1989&favourite=coding%20coding%20and%20coding&company=Nextzy%20Technologies&website=http://www.akexorcist.com/',
You can’t perform that action at this time.