26
Views
5
Comments
Solved
Deleting Application Data using REST (DELETE)
Application Type
Service

I was doing "Deleting Application Data using Rest" exercise  of the "Integrating with Web Services" training but this error popped up; 

The url is correct. 

EmployeesAPI_REST.oml
Solution

Hi Bruno,

Follow the solution steps outlined below to address the shared issue.

Solution referenced from: https://stackoverflow.com/a/29137396

1) In the URL Path of the DeleteEmployee REST API method, append a '/' at the end of the URL, as highlighted below: 

2) When invoking the DELETE API method, include a trailing '/' at the end of the URL (after email address) as indicated below. 

https://personal-tt58ud9o.outsystemscloud.com/EmployeesAPI_REST/rest/v1/employees/BetteFBauer@jourrapide.com/

Refer to the attached oml. I hope this helps you!


Kind regards,

Benjith Sam

EmployeesAPI_REST.oml

Thank you very much. That was all I needed 

You're welcome, Bruno. I'm glad that the proposed solution helped you :)


Kind regards,

Benjith Sam

Hi Bruno, 

just from I read here, are you using the right upper/lower e/E?

on the E/employees 

Regards 

Problem solved. Thanks.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.