Starting point for reading, negative value means starting from end of file.
length:
Maximum length of data read
URL ( localhost) to get content
We will keep our function in one main file and try to read another file by sending request.
In second file we will keep minimum code to just return a welcome message with name. From our main file we will send the name by using GET method.
Here is a sample code to get output content from a file. While sending the request we will send name variable and try to get the welcome message with the name. We have used localhost for this. You should use your host or path in this code.