Since you are able to perform the operation using Firefox Restclient means there is no problem in the odata services.
What is the issue you are getting when you are trying ti execute it from the app?
Are you passing token and cookie when you are performing the operation.