Answer the question
In order to leave comments, you need to log in
How to change the html code on the hosting with the help of software?
Let's imagine a situation. There is an .exe (it doesn't matter what language, similar frauds are everywhere, for example C ++), after running the .exe, the software opens the html page on my hosting and changes a certain string (for example HELLO WORLD123) to "51325HELLO WORLD". How to do it? I am not friends with FTP requests, I will be glad if you help me. More clear below.
We have:
index.html with code:
<div>HI DUDE</div>
<div>HUH BR</div>
Answer the question
In order to leave comments, you need to log in
for this you don’t need an assembler or even C))) it’s
enough to
find a div in which there is a line “bla-bla-bla” and replace it with “yaZhprogrammer ”
Create a RestfulAPI on hosting to issue commands for editing files.
And from the exe program, contact the hosting via POST / GET requests in json format and perform the necessary actions.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question