You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using api.fetch in a page to get data but having a look to the class it's not possible to get other data than a json response from the server, right?
If we use another lib, we will loose state management done in this pawjs/src/libs/api/api.js file, right?
The text was updated successfully, but these errors were encountered:
But now as you raised this question It got me thinking if we can customize the API library for other responses as XML, HTML etc. What are you exactly looking for?
Well @migueloop I was more aligned to ES6 fetch "whatwg-fetch" with new html5 and thus included it. We can definitely try installing other options but would like to research properly.
Hello,
I've been using api.fetch in a page to get data but having a look to the class it's not possible to get other data than a json response from the server, right?
If we use another lib, we will loose state management done in this pawjs/src/libs/api/api.js file, right?
The text was updated successfully, but these errors were encountered: