             pawRequest.urlEncodedBody = bodyObject;
 
         # Set Multipart body
-        else if postmanRequest["dataMode"] == "params"
+        else if postmanRequest["dataMode"] == "params" and postmanRequest["data"] != null
             postmanBodyData = postmanRequest["data"]
             bodyObject = new Object()
             for bodyItem in postmanBodyData

                    foundBody = true

            if not foundBody
                pawRequest.body = @expandEnvironmentVariables context, rawRequestBody

        # Set Form URL-Encoded body
        else if postmanRequest["dataMode"] == "urlencoded"
            postmanBodyData = postmanRequest["data"]
            bodyObject = new Object()
            for bodyItem in postmanBodyData

        for headerLine in postmanHeaders
            match = headerLine.match /^([^\s\:]*)\s*\:\s*(.*)$/
            if match
                pawRequest.setHeader @expandEnvironmentVariables(context, match[1]), @expandEnvironmentVariables(context, match[2])

        # Set raw body
