Some screenshots take long to make, and the connection to the screenshot-app service may be lost in the meantime. An asynchronous route would be a good solution:
The end result would be a POST request to http://www.mysite.com/screenshot, with the image in the body, as well as the original request parameters (url, width, height).
Some screenshots take long to make, and the connection to the screenshot-app service may be lost in the meantime. An asynchronous route would be a good solution:
The end result would be a POST request to http://www.mysite.com/screenshot, with the image in the body, as well as the original request parameters (url, width, height).