databag icon indicating copy to clipboard operation
databag copied to clipboard

Consider redaxios

Open lil5 opened this issue 1 year ago • 1 comments

Please consider redaxios for sending api calls, setting the baseurl is much easier.

https://www.npmjs.com/package/redaxios

I noticed that the schema is hardcoded in, how do you test the client with it force set to https?

lil5 avatar Apr 22 '24 05:04 lil5

Thanks for the link to redaxios; I think you're right and will provide a cleaner implementation.

I believe the browser app doesn't have the https hardcoded and should work with http (without federation)

For the next mobile app release I am planning on supporting http (when not federated). I vaguely remember some global app setting requiring https, that I was recommended to set, so I am not sure how successful I will be. I will take this opportunity to utilize redaxios.

To answer your testing question, beyond the unit testing, I mostly do manual testing in the simulator with a live server. Is there a better approach I should read up on?

Thanks for your interest in the project!

balzack avatar Apr 22 '24 05:04 balzack