go-force
go-force copied to clipboard
Handle 204 (no content) response in `ForceApi.request`
Currently calling ForceApi.UpsertSObjectByExternalId would return an object unmarshal error when salesforce endpoint returns a 204. The code causing this behavior is in ForceApi.request which attempts to unmarshal an empty response byte slice.