Add property type to override default ajax type

Added property `type` to allow overriding default ajax type `POST`

#4