We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55b3bea commit c35f5b1Copy full SHA for c35f5b1
src/pages/[platform]/build-a-backend/add-aws-services/rest-api/fetch-data/index.mdx
@@ -38,9 +38,11 @@ async function getItem() {
38
const restOperation = get({
39
apiName: 'myRestApi',
40
path: 'items'
41
- retryStrategy: {
42
- strategy: 'no-retry' // Overrides default jittered exponential backoff retry strategy
43
- },
+ options: {
+ retryStrategy: {
+ strategy: 'no-retry' // Overrides default jittered exponential backoff retry strategy
44
+ },
45
+ }
46
});
47
const response = await restOperation.response;
48
console.log('GET call succeeded: ', response);
0 commit comments