I am new to onem2m and using the IoTDM Karaf implementation to learn the initial steps. I am also using the postman bundle from the same project as a learning tool. I am able to do CRUD operations and other straight forward operations from my own code (html,ajax,php) also. I have gone through the spec docs (not the full bundle though, but quite a bit) and the developer guide example of home lighting and implementation examples.
Where I am stuck now is that I have registered for a subscription successfully with notification uri "nu" pointing to a php in a different apache server on the same network. Postman / Google Rest Client can post data to it. I have even added a CORS header to avoid any doubts. I have specified the "nu":http//full IP/phpfile.php. Then I create a content instance from Postman. I am expecting my php to get called. Is this expectation valid?
I am just dumping the post data into a file in my /var/www/html folder. This works as expected. I tested writing a small html and ran it from another server. So it is not a CORS problem or file system access problem. Is the notification implementation in place? My interest is not in the IoT edge device side but in the backend where I want to gather the data from the devices. I do not see any samples detailing the implementation of the notification handler as such.
Any pointers, even if not a direct answer will help. Thanks in advance.