This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
Allow successCodes to be passed in options
Defaults to 201, 201, 203 (as per version 2 of the adaptor) but allows for users to specify their own codes.
get('path', {
options: {
successCodes: [200, 201, 202]
}
});