Added possibility to provide mime-type for HTTP-calls
Corrected REST API to fit with backend
Corrected test-URL for the REST API in localhost