2

Hey, I'm having some trouble using the QuickBase API from Python. From the QuickBase guide, there are two methods of hitting the API: POST and GET. I can handle the GET calls, but some API methods require XML to be sent over POST. The link to the documentation is here: http://member.developer.intuit.com/MyIDN/technical_resources/quickbase/framework/httpapiref/HTML_API_Programmers_Guide.htm

I guess I don't quite understand how to pack the XML payload into the POST request from python. Using the urllib.urlencode method, as well as any other way I've created POST requests requires a key-value type data structure, where all I have here is a string. Any help would be appreciated.

James A Mohler
  • 11,060
  • 15
  • 46
  • 72
Dan Lorenc
  • 5,376
  • 1
  • 23
  • 34

1 Answers1

1

Got it. For some reason The data I was sending in my POST needed to have a .strip() placed after it.

Dan Lorenc
  • 5,376
  • 1
  • 23
  • 34