Skip to Content
0
Jul 29, 2019 at 11:44 AM

The specified method is not allowed for the resource identified by the Data Service Request URI..

541 Views

Hello All,

I am trying to use delete method from fronted but I am getting error "The specified method is not allowed for the resource identified by the Data Service Request URI" .I checked at error_log it is shown as request method: POST and status code :202 How can i change that request method post to delete and I am using one entityset for both PUT and DELETE ?

1). From Netweaver gateway the Delete method working fine am able delete the required entry.

URL:/sap/opu/odata/SAP/ZSTZ_APP_SRV/CEQUISet(Equipment='V1089',Material='R-1000')

Please find code from controller.

Thank You,

BR,

Ganesh.

Attachments

java.png (17.9 kB)