REST API for Delphi project & Windows server deployment
Task Description
Create an intermediate REST API application in Delphi that will provide access to the functions of an existing library (DLL) written in Delphi and running in a Windows environment. This API will allow a Linux bot written in Python to send data for processing and receive results via HTTP requests.
REST API Functionality
- Implement the API with the ability to:
- Receive HTTP requests (POST/GET).
- Process parameters passed in the requests (for example, game coefficients).
- Return processing results in JSON format.
- Ensure the processing of multiple functions from the Delphi library (DLL), each of which will be available through a separate endpoint.
API Technical Details
- Use a library to implement the HTTP server (for example, Indy, Synapse, or others supported by Delphi).
- Support the following HTTP methods:
- POST: Sending data for processing (for example, coefficients).
- GET: Retrieving the current status of the API or the last processing result (optional).
Logging and Error Handling
- Log all incoming requests and processing results to a file.
- Handle exceptions: if an error occurs in the DLL or incorrect data is passed, return a clear error message to the client.
Deployment
- Script/instructions for running the REST API on a Windows machine.
- Ensure that the API starts automatically when the system boots (can be done via a Windows service).
Provided Resources
- DLL library with a description of exported functions.
- Test sample data for processing (input coefficients from the Linux bot received via the API).
Candidate Requirements
- Experience with Delphi and libraries for creating HTTP servers (Indy/Synapse).
- Knowledge of working with DLLs and exported functions.
- Ability to document the API and write structured code.
Provide your proposals regarding deadlines and cost of work.
I will provide a desktop project example in a private chat.
If anything is unclear or additional information is required, I am always available.
Описание задачи
Создать промежуточное REST API-приложение на Delphi, которое будет предоставлять доступ к функциям существующей библиотеки (DLL), написанной на Delphi и работающей в среде Windows. Это API позволит Linux-боту, написанному на Python, отправлять данные на обработку и получать результат через HTTP-запросы.
Функционал REST API
- Реализовать API с возможностью:
- Принимать HTTP-запросы (POST/GET).
- Обрабатывать параметры, передаваемые в запросах (например, коэффициент игры).
- Возвращать результаты обработки в формате JSON.
- Обеспечить обработку нескольких функций из библиотеки Delphi (DLL), каждая из которых будет доступна через отдельный эндпоинт.
Технические детали API
- Использовать библиотеку для реализации HTTP-сервера (например, Indy, Synapse или другие, поддерживаемые Delphi).
- Поддержка следующих HTTP-методов:
- POST: Передача данных для обработки (например, коэффициентов).
- GET: Получение текущего статуса API или последнего результата обработки (опционально).
Логирование и обработка ошибок
- Логировать все входящие запросы и результаты обработки в файл.
- Обрабатывать исключения: если в DLL возникла ошибка или переданы некорректные данные, возвращать клиенту понятное сообщение об ошибке.
Развертывание
- Скрипт/инструкция для запуска REST API на Windows-машине.
- Убедиться, что API автоматически запускается при старте системы (можно через службу Windows).
Предоставляемые ресурсы
- DLL-библиотека с описанием экспортируемых функций.
- Тестовые примеры данных для обработки (входные коэффициенты от linux bota полученные по API).
Требования к кандидату
- Опыт работы с Delphi и библиотеками для создания HTTP-серверов (Indy/Synapse).
- Знание работы с DLL и экспортируемыми функциями.
- Умение документировать API и писать структурированный код.
Предоставьте ваши предложения по срокам выполнения и стоимости работы.
Пример desktop проекта предоставлю в личный чат.
Если что-то непонятно или требуется дополнительная информация, я всегда на связи.
Client's feedback on cooperation with Yelena Druzenko
REST API for Delphi project & Windows server deploymentThe work was completed within the stated deadlines. I will cooperate and recommend!))
Freelancer's feedback on cooperation with Andrey Bely
REST API for Delphi project & Windows server deploymentEverything is great, I recommend the client, and I hope for further cooperation!
-
152 Hello! I have extensive experience in programming with Delphi (more than 10 years).
Вітаю! У мене великий досвід програмування на Delphi (більше 10 років).
-
372 Hello.
I am ready to complete the project. I have over 10 years of experience in Delphi.
Which version of Delphi should be used?
Preferred logging storage (text file, SQLite ...)?
Let's discuss the project details.
The rate and deadlines are preliminary; they will be final after agreement.
Здравствуйте.
Готов выполнить проект. Опыт работы в Delphi более 10 лет.
На какой версии Delphi нужно написать?
Предпочтительное хранилище логирования (текстовый файл, SQLite ...)?
Давайте обсудим детали проекта.
Ставка и сроки предварительные, после согласования будет окончательные.
-
696 4 0 Good afternoon
I can complete such an application. Please explain what kind of example desktop project you can provide - examples of calling dll functions? What version of Delphi do you need? Who should ensure that the API starts automatically when the system starts?
Добрый день
смогу выполнить такое приложение. Поясните пожалуйста что за Пример desktop проекта вы можете предоставить - примеры вызова функций dll? какая версия delphi вам нужна? Кто должен Убедиться, что API автоматически запускается при старте системы?
Current freelance projects in the category Databases & SQL
Experienced PHP programmer for long-term collaboration
97 USD
Looking for an experienced PHP programmer capable of understanding foreign code for remote support of a script Support includes uploading the script to the server, debugging, and fixing minor errors if they arise The script is debugged and does not require daily work with it,… PHP, Databases & SQL ∙ 22 hours 40 minutes ago ∙ 27 proposals |
Transfer of the website to Reboot and JournalX themesHello. A person is needed who has thoroughly understood the topics Reboot and JournalX, as well as has knowledge in transferring editing, database automation on WordPress. 1. It is necessary to transfer the existing project https://happybirthdaycardz.com/ from the old theme… Databases & SQL, Data Processing ∙ 1 day 1 hour ago |
Connecting Power BI to My SQL database and creating a reportIt is necessary to connect Power BI to the My SQL database of the accounting system and create a financial report. The accounting system delopro/ PHP, Databases & SQL ∙ 1 day 2 hours ago ∙ 2 proposals |
Contacts (databases) of builders in Kyiv region are needed.Need databases (contacts) of builders in Kyiv and the Kyiv region. For a reasonable price. I will accept both ready-made ones and we can agree on parsing such databases. Databases & SQL, Data Parsing ∙ 1 day 4 hours ago ∙ 5 proposals |
Set up mySql on WordPress so that it does not overflow.
25 USD
Hello! 1. Configure mySql in WordPress so that it does not overflow quickly with 3-4 small posts a day. 2. It is necessary to reinstall mySql for the WordPress site to make it work again. SSH connection may be used. 3. Install a theme in WordPress. The work needs to be done… Databases & SQL ∙ 2 days 5 hours ago ∙ 2 proposals |