SyntaxFix
Write A Post
Hire A Developer
Questions
If you are using JQuery, this works too..
fetch(url, { method: 'POST', body: $.param(data), headers:{ 'Content-Type': 'application/x-www-form-urlencoded' } })