Closed ayshsandu closed 9 months ago
It appears that this issue is no longer reproducible in the latest SDK version. I just tried using the httpRequest method to interact with the public cat facts API and didn't face any errors[1].
Therefore, I am closing this issue. Please feel free to reopen it if you still encounter the same issue in the SDK v4 (latest version atm) and onwards.
[1] https://github.com/pavinduLakshan/cat-facts-demo/blob/master/src/pages/home.tsx#L101-L113
Describe the issue: Getting an error when trying to use httpRequest method from the SDK to call an API which doesn't require any authentication.
How to reproduce: Call a public API endpoint with the above method https://github.com/ayshsandu/readers-guild/blob/main/src/components/BookList.js#L35-L38
Expected behavior: SDK should be able to invoke public APIs as well as secured ones.
Environment information (Please complete the following information; remove any unnecessary fields) :
Optional Fields
Related issues:
Suggested labels: