Importing a solution using HTTP Post

When I want to import a solution into the Servoy Application Server using a HTTP Post (from a servoy solution) what are the things I should keep in mind. I’m sure this has been done before, so maybe I can avoid some pitfalls.

Are all the arguments (inputs) that are in the html-form mandatory or do they get a default value when left away?
What should be checked in the response to be sure that the import completed succesfully?
What happens when I import the solution that I’m currently using?