Hi! I am trying to create a REST tap that requires...
# singer-tap-development
h
Hi! I am trying to create a REST tap that requires unescaped parameters. I have overridden
prepare_request_payload
so that it adds parameters as a string to make sure some special characters aren’t escaped. This is a great SDK feature by the way. The
Request
object that gets generated looks good, but when the SDK creates a
PreparedRequest
the url params gets escaped. I have no clue how this happens, when testing the
prepare_request
method on the
requests.Session
class in isolation seems to return the correct URL, but running the tap in debug mode unequivocally shows that the
Request
object does not escape, but the
PreparedRequest
oject returned from
Session.prepare_request
is escaped. Has anyone seen this before? I am using version 0.32.0 of the singer SDK.