Cross origin scripting not allowed when using the deployer rest api

Hi,

I am getting the error

"XMLHttpRequest cannot load http://localhost:8080/deployment/create. 
No 'Access-Control-Allow-Origin' header is present on the requested resource. 
Origin '[my-ip-address]' is therefore not allowed access. The response had HTTP status code 404."

when I try to deploy a bpmn file via the camunda resource deployer (7.5). I am using apache tomcat 8.0.24 and have the following in ./webapps/engine-rest/WEB-INF/web.xml (after reading https://github.com/polenz/camunda-resource-deployer-js and https://groups.google.com/forum/#!topic/camunda-bpm-users/9pDJ7rMxFkc) :

<filter>
  <filter-name>CorsFilter</filter-name>
  <filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
  <init-param>
    <param-name>cors.allowed.origins</param-name>
    <param-value>[my-ip-address]</param-value>
  </init-param>
  <init-param>
    <param-name>cors.allowed.methods</param-name>
    <param-value>GET,POST,HEAD,OPTIONS,PUT,DELETE</param-value>
  </init-param>
  <init-param>    
        <param-name>cors.allowed.headers</param-name>     
        <param-value>Content-Type,X-Requested-With,accept,Origin,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization</param-value>     
    </init-param>    
    <init-param>    
        <param-name>cors.exposed.headers</param-name>     
        <param-value>Access-Control-Allow-Origin</param-value>      
    </init-param>    
</filter>
<filter-mapping>
  <filter-name>CorsFilter</filter-name>
  <url-pattern>/*</url-pattern>
</filter-mapping>

Am I doing something wrong here?

Edit: Checking the access log files, I see the following:

127.0.0.1 - - [14/Jul/2016:13:37:51 -0400] "POST /deployment/create HTTP/1.1" 404 1028

Is it a problem that localhost:8080/deployment/create is not found?

Thanks!

Just realized my problem - make sure the url is http://localhost:8080/engine-rest, not just http://localhost:8080