What Is The C++ Builder REST Debugger And How Do We Use It?
By Yilmaz Yoru November 19, 2021
The REST Debugger allows you to test your connections REALLY easily and you can easily see how to reach or transfer your data. There is also a free version that can be used by other REST tools and it can be downloaded from Для просмотра ссылки Войдиили Зарегистрируйся
For example, we can easily read all exchange rates in Euro € by using this API link and Rest Debugger. Go to Tabular Data tab in REST Debugger and type ‘rates’ into JSON Root Elements and Apply. You will get all exchange rates as given example below;
As given in this example, you can connect and get any REST based data by using free or commercial REST Services such as exchange rates, weather, news and almost anything else you could imagine. If you still have problems setting up the REST Debugger, or if you have connection problems to your REST Web Service, you can also use REST Components to test REST Requests. It is very easy to set up REST components manually with their parameters although the REST Debugger automates this process and allows you to test the connections too. Для просмотра ссылки Войдиили Зарегистрируйсяexample may help you about how to use REST Debugger and Components.
If you want to add live exchange rates features to your applications you can sign up to Exchangerates API by registering at Для просмотра ссылки Войдиили Зарегистрируйся and try it in C++ Builder or Delphi.
By Yilmaz Yoru November 19, 2021
What is the REST Debugger?
In RAD Studio there is a superbly useful tool called the REST Debugger. It comes included with RAD Studio C++ Builder. It is very useful to test REST Requests such as “Gets” and “Posts” to see what effect they have and view their results. It is very easy to automatically set up the REST components with their parameters which can then be pasted or copied into your source code – potentially saving you hours of coding. We can easily set up the components by using REST Debugger Tool in RAD Studio – either C++ Builder or Delphi – it works with both.How do I launch the REST Debugger in RAD Studio?
You can launch the REST Debugger from the Tools menu of RAD Studio. The Embarcadero REST Debugger empowers developers to explore, test, and ultimately understand how a RESTful web service works. You can dive right into REST data with filterable JSON blobs, streamlined OAuth 1.0/2.0 authentication, and configurable request/resource parameters. You can directly copy and paste REST components from the REST Debugger to the RAD Studio, Delphi, or C++Builder IDE. This enables the configuration and consumption of REST services in Delphi or C++Builder apps with just a few clicks.The REST Debugger allows you to test your connections REALLY easily and you can easily see how to reach or transfer your data. There is also a free version that can be used by other REST tools and it can be downloaded from Для просмотра ссылки Войди
Is there an example of how to connect to a REST service?
Do you want to add live exchange rates features to your applications? In this example, we will a use a free API that allows us to get the latest currency exchange rates. ExchangeRates API is delivers exchange rates data live for more than 170 world currencies with over 15 exchange rate data sources. It has several endpointseach of which serves a different purpose or use case.How do I use the ExchangeRates API?
Using the ExchangeRates API is very simple, here are the steps,- Sign Up to ExchangeRates API can be registered from Для просмотра ссылки Войди
или Зарегистрируйся - Get your API Access Key from the Для просмотра ссылки Войди
или Зарегистрируйся and simply attach your unique Access Key to one of the endpoints as a query parameter like so: Для просмотра ссылки Войдиили Зарегистрируйся - If you registered to ExchangeRates API, your link example can be found in Для просмотра ссылки Войди
или Зарегистрируйся - There are 5 main API Endpoints: latest, historical, convert, time series and fluctuation. Through these endpoints you can access different kinds of data, all starting with the Base URL.
- Integrate into your application
- Now you can test your connection with REST Debugger or with your REST Client applications.
How do use the REST Debugger to automatically set up and connect components?
To get exchange rate with REST Debugger, copy your URL with your API KeyFor example, we can easily read all exchange rates in Euro € by using this API link and Rest Debugger. Go to Tabular Data tab in REST Debugger and type ‘rates’ into JSON Root Elements and Apply. You will get all exchange rates as given example below;
As given in this example, you can connect and get any REST based data by using free or commercial REST Services such as exchange rates, weather, news and almost anything else you could imagine. If you still have problems setting up the REST Debugger, or if you have connection problems to your REST Web Service, you can also use REST Components to test REST Requests. It is very easy to set up REST components manually with their parameters although the REST Debugger automates this process and allows you to test the connections too. Для просмотра ссылки Войди
If you want to add live exchange rates features to your applications you can sign up to Exchangerates API by registering at Для просмотра ссылки Войди