force-rest-api icon indicating copy to clipboard operation
force-rest-api copied to clipboard

Add support for Headers

Open danbehar opened this issue 3 years ago • 1 comments

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.

danbehar avatar Mar 04 '21 19:03 danbehar

This is one of the limitations I'm also looking forward to be implemented.

raunakbagri avatar Jul 01 '21 03:07 raunakbagri