REST API client
-
I googled about this issue and I found this project which suppose to work as a REST API client but I noticed that it build everything from the scratch!
https://www.qpm.io/packages/com.github.kafeg.qtrest/index.html
Do I need to do the same thing? I thought I can do it whiteout the need to code in C++. I don't want to invent the wheelIMPORTANT:
My friend created an Android client using Android Studio within 30 min for my website!
He said Android Studio ready to help the developers for creating REST API clients easily. Does this happen in Qt Quick? -
Hi,
Are you thinking about using XMLHttpRequest in your application ?
-
@tansgumus Shouldn't be any need to use C++... have seen plenty of examples of RESTful services being pinged from QML javascript using XMLHttpRequest (here's one).
-
From a quick look, his library allows you to define exactly what your backend does and provides tighter integration with your application on different levels.
Another project worth taking a look at is Cutelyst which provides a full web development framework for backend/frontend application combo with Qt.
-
@tansgumus What counts as "very cheap hosting" these days? I've looked at those sort of environments before (typically things admined via "cpanel"?) but ended up going for a micro instance on AWS' EC2 instead which gives you a lot more control and flexibility and was as cheap as any of the shared hosting options at the time (if you signed up for a 3-year "reserved instance" on EC2 anyway). Suspect the shared hosting might be able to scale up under load better though.
-
@timday said in REST API client:
@tansgumus What counts as "very cheap hosting" these days? I've looked at those sort of environments before (typically things admined via "cpanel"?)
I pay 32$ per year with unlimited databases and bandwidth %99.9 Uptime. AWS' EC2 more expensive with less performance!
-
@tansgumus said in REST API client:
RESTful API
Hello, how did you solve it, I also want to use RESTful API in QT.