-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Morneau connector #490
base: main
Are you sure you want to change the base?
Conversation
👷 Deploy request for karrio-docs pending review.Visit the deploys page to approve it
|
# Perform the authentication request | ||
response = lib.request( | ||
url=f"{url}/api/auth/Token", | ||
data={"UserName": self.username, "Password": self.password}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be wrapped in a lib.to_json
# Perform the authentication request | ||
response = lib.request( | ||
url=f"{url}/api/auth/Token", | ||
data={"Username": self.username, "Password": self.password}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data={"Username": self.username, "Password": self.password}, | |
data=lib.to_json({"Username": self.username, "Password": self.password}), |
# Perform the authentication request | ||
response = lib.request( | ||
url=f"{url}/api/auth/Token", | ||
data={"UserName": self.username, "Password": self.password}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data={"UserName": self.username, "Password": self.password}, | |
data=lib.to_json({"UserName": self.username, "Password": self.password}), |
some bug fixes caused by karrio update
add the new api v2 of freightcom
No description provided.