{"action":"created","issue":{"url":"https://api.github.com/repos/zohararad/sails-rest/issues/40","labels_url":"https://api.github.com/repos/zohararad/sails-rest/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/zohararad/sails-rest/issues/40/comments","events_url":"https://api.github.com/repos/zohararad/sails-rest/issues/40/events","html_url":"https://github.com/zohararad/sails-rest/issues/40","id":62484088,"number":40,"title":"Model Instance with Custom Header","user":{"login":"nardoguy14","id":4164460,"avatar_url":"https://avatars.githubusercontent.com/u/4164460?v=3","gravatar_id":"","url":"https://api.github.com/users/nardoguy14","html_url":"https://github.com/nardoguy14","followers_url":"https://api.github.com/users/nardoguy14/followers","following_url":"https://api.github.com/users/nardoguy14/following{/other_user}","gists_url":"https://api.github.com/users/nardoguy14/gists{/gist_id}","starred_url":"https://api.github.com/users/nardoguy14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nardoguy14/subscriptions","organizations_url":"https://api.github.com/users/nardoguy14/orgs","repos_url":"https://api.github.com/users/nardoguy14/repos","events_url":"https://api.github.com/users/nardoguy14/events{/privacy}","received_events_url":"https://api.github.com/users/nardoguy14/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-17T18:52:54Z","updated_at":"2015-06-06T19:12:40Z","closed_at":null,"body":"I'd like to be able to make model instances that use a sails-rest connection with headers custom to the model for the connection. Is there any way to do inheritance of some sort with sails-rest?\r\n\r\nThank you,\r\n\r\nBernardo Arevalo"},"comment":{"url":"https://api.github.com/repos/zohararad/sails-rest/issues/comments/109638357","html_url":"https://github.com/zohararad/sails-rest/issues/40#issuecomment-109638357","issue_url":"https://api.github.com/repos/zohararad/sails-rest/issues/40","id":109638357,"user":{"login":"zohararad","id":47259,"avatar_url":"https://avatars.githubusercontent.com/u/47259?v=3","gravatar_id":"","url":"https://api.github.com/users/zohararad","html_url":"https://github.com/zohararad","followers_url":"https://api.github.com/users/zohararad/followers","following_url":"https://api.github.com/users/zohararad/following{/other_user}","gists_url":"https://api.github.com/users/zohararad/gists{/gist_id}","starred_url":"https://api.github.com/users/zohararad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zohararad/subscriptions","organizations_url":"https://api.github.com/users/zohararad/orgs","repos_url":"https://api.github.com/users/zohararad/repos","events_url":"https://api.github.com/users/zohararad/events{/privacy}","received_events_url":"https://api.github.com/users/zohararad/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T19:12:40Z","updated_at":"2015-06-06T19:12:40Z","body":"@nardoguy14 Please check out [v0.1.0-waterline-v0.10](https://github.com/zohararad/sails-rest/tree/v0.1.0-waterline-v0.10) - I decided to finally rewrite the entire adapter to be compatible with Waterline 0.10.\r\n\r\nOne feature that might be relevant here is the ability to set headers before issuing a request. Please let me know if this helps, or close the issue otherwise.\r\n\r\nThanks"}}