force-rest-api
force-rest-api copied to clipboard
Add support for Headers
There are some HTTP headers that can be passed when creating objects in salesforce. Ref Assignment Rule Header for one such header.
Currently ForceAPI#createSObject does not accept any of these custom headers.
Proposed fix would be to have another create method which would take a collection of headers to be applied on the request. Let me know if this sounds good, and I would be more than happy to submit a PR with the change.
This is one of the limitations I'm also looking forward to be implemented.