We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I was curious if there was a feature that would allow the default URL to be changed for a resource.
class Organization(pyactiveresource.activeresource.ActiveResource): _site = 'https://api.example.com/api/hr/' _primary_key = 'id' _headers = {"Authorization": f"Bearer {jwt}"} _primary_key = 'id'
When perform a .find() on this it's appending .json to the URL which isn't the convention for our URLs.
pyactiveresource.connection.ResourceNotFound: Not Found: https://api.example.com/api/hr/organizations/123456789.json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I was curious if there was a feature that would allow the default URL to be changed for a resource.
class Organization(pyactiveresource.activeresource.ActiveResource): _site = 'https://api.example.com/api/hr/' _primary_key = 'id' _headers = {"Authorization": f"Bearer {jwt}"} _primary_key = 'id'
When perform a .find() on this it's appending .json to the URL which isn't the convention for our URLs.
pyactiveresource.connection.ResourceNotFound: Not Found: https://api.example.com/api/hr/organizations/123456789.json
The text was updated successfully, but these errors were encountered: