-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels