Article Preview
Buy Now
COLUMN
Xojo 2021R1, Create a Web Service
Xojo thoughts, news and tips
Issue: 19.2 (March/April 2021)
Author: Paul Lefebvre
Author Bio: Paul Lefebvre is a Xojo engineer. He has been using Xojo and its prior versions since 2001.
Article Description: No description available.
Article Length (in bytes): 7,594
Starting Page Number: 62
Article Number: 19208
Related Web Link(s):
http://127.0.0.1
http://127.0.0.1
http://192.168.7.185
http://127.0.0.1
Excerpt of article text...
Can you believe the first two months of 2021 have already gone by? Hopefully this means that winter is on its way out here in the Northeast U.S. But never mind the weather, this also means that another Xojo release is going into testing!
I can't say much about what will be included in 2021 Release 1 except to say we have expanded Xojo's new Apple Silicon support, improved recently added features and continued to fix bugs. If you're a pre-release tester, be sure to download the pre-release so you can test and give us your feedback.
Web Services
One of the questions we are often asked is "how can I create a web service using Xojo?" This has been covered a few times in some videos on the Xojo YouTube channel (youtube.com/goxojo), but with the release of Web 2.0, I thought I would also show how you can do this using Web 2.0 and compare it to how it worked in Web 1.0.
But first, what is a web service? A web service is any service that you can access on the web using HTTP. These days most web services are considered REST web services. REST stands for representational state transfer and describes a general-purpose way to send HTTP requests and receive HTTP responses.
In the case of Xojo, you can use
URLConnect
to send HTTP web service requests. To build your own web services, you can use a Xojo Web app that returns HTTP responses to requests it receives.
...End of Excerpt. Please purchase the magazine to read the full article.