You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sending an email template over the wire doesn't work due to length limitations on the API. https://boutell.com/newfaq/misc/urllength.html using body parameters solves this issue. the API seems to handle query and body params transparently.
We had this problem as well. Created PR to address. Includes optional parameter to send the params as the body to maintain backward compatibility. The PR is below:
Same problem here. The Pardot API returns a 400 "Your browser sent an invalid request" error when passing large strings via query. Switching to body fixed the issue. Frustrating!
https://github.com/Pardot/ruby-pardot/blob/master/lib/pardot/http.rb#L19
check_response self.class.post(full_path, :query => params)
should be
check_response self.class.post(full_path, :body => params)
The text was updated successfully, but these errors were encountered: