HTTP Post Request Help


I’m trying to do an HTTP Post Request. I usually do this using ajax by:

var formData = new FormData();
formData.append("key1", "value1");
	type : "POST",
	url : "",
	dataType: "text",
	cache: false,
	contentType: false,
	processData: false,
	data: formData,
	success: function(result) {

How do I translate this ajax code to pc.http (passing with settings and data)"", function(err, result) {

Hi @rumblerock,

You can check the docs on the exact options available for the post request here:

The only thing I am not sure if it’s supported is passing a FormData instance, instead of a raw object. Feel free to try if that works out for you.