Introduction There are various ways to implement a minimal Python web service or server. It can be easily implemented using the web.py python web framework. First, you need to install the library. Open a terminal and execute the following command… Provide the password when requested. If the installation goes smoothly, create a Python script and
Introduction I was testing a client software which communicates with a server software using JSON format. The behavior of the client depends on the instructions specified in the server response. In order to test the client I had to modify the server response and try different scenarios. One way to change the server response is
Get vs Post Describe the basic differences between http methods post and get Answer POST Method: By default no proxy server or web browser is caching this data. You will always get the real data from your web server. The length of data you can send to the web server is only restricted by the
Problem You are trying to access a website but you get an error message that says the website is not reachable. What actions you should do to isolate the problem Solution There are several ways to troubleshoot connection to a website. The following is a list of suggested steps to isolate the problem: The ping