Modify the application in php
There is a simbank with a gateway (php, MySQL database). Its function is to record in the DB SMS coming to certain numbers, each number is listened to on a given port.
Task:
- understand the structure of the DB
- implement sending a POST request when receiving SMS with the parameters {phone_number: phone_number, sms: sms (all fields from the database)}
where phone_number - the phone number to which the SMS sms came - the text of the message
Modify the application that will monitor the records in the database and when a new record appears, send a request to an external server using the post method, the request body will be json.
11.10.2021 11:10