restibm-mobilefirstrestful-architecturemobilefirst-adapters

RESTful methods in IBM MobileFirst 8.0 adapters


I'm currently working iwth IBM MobileFirst 8.0 solution and I have found something curious that I'd like to ask/confirm with the community:

According to documentation, adapters only expose GET and POST methods, so any mobile application is able to execute this methods in their API calls... Anybody knows which is the reason for this? I mean, why is it not possible to define a DELETE or PUT method? IS there any security reason or similar for this?

Additionally, in procedure implementation, I'm not able to find if there is any distinction for invoking an specific API through GET or POST method. Procedures are implemented once in all examples I have found. Any idea about how to do this?

Thanks in advance


Solution

  • MFP 8.0's Javascript adapters only support GET and POST.

    If you would like to use the other HTTP methods - PUT/DELETE , you can always use Java adapters.