So far, everything we've looked at involves pulling data from the Web into Maya. In this example, we'll look at how to send data to a server from within Maya.
There are two main ways to send data to a server—GET and POST. Using GET involves adding arguments onto a URL directly. It has the benefit of being able to be bookmarked (since the arguments are in the URL), but has limitations on the amount of data that can be sent. POST requests are more flexible and will usually be what you want to use to build tool pipelines in a production environment.
In this example, we'll implement two different examples of sending POST data. First, we'll look at sending summary data about a scene (the name of the file and the number of objects). Then, we'll look at using POST requests to send a selected model to a server as an OBJ file. This could form the backbone of an asset management pipeline.