I am learning about ACME oneM2M framework, am a new to it. I am trying to create a web dashboard, through which I would be able to control LED light. This web dashboard can have buttons ON and OFF, trying to create this through ACME. Please help me how can I do it, how can I send request to create resource in ACME REST UI?
How to create resource/ send request to create resource in ACME oneM2M in REST UI?
285 Views Asked by shubham At
1
There are 1 best solutions below
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in ONEM2M
- Should the oneM2M AE-ID attribute of the AE resource always be represented as SP-relative or absolute, not CSE-relative?
- oneM2M base ontology: How to finish a sample and simple instantiation?
- Implementing oneM2M semanticDescriptor resource
- oneM2M - Difference between ASN-CSE and MN-CSE?
- In the context of oneM2M spec, is there a way to 'discover' the IP of the MN-CSE?
- The oneM2M Mcc interface?
- How should a onem2m CSE treat a retransmitted AE create request
- AE resource /in-cse not found when trying to create AE
- Error While testing oneM2M Device Simulator with Mobius API
- How to create resource/ send request to create resource in ACME oneM2M in REST UI?
- How to create attribute in flexcontainer in oneM2M?
- What happens to CSE-relative resourceIDs in attributes of announced resources?
- Is MainFlux implementation OneM2M compliant?
- how do you get the id or url of the resource that's being updated when handling an Update_Of_Resource notification?
- how do the two software status fields work?
Related Questions in ONEM2M-DEVICE-MANAGEMENT
- In the context of oneM2M spec, is there a way to 'discover' the IP of the MN-CSE?
- How to create resource/ send request to create resource in ACME oneM2M in REST UI?
- how do the two software status fields work?
- OneM2M: Get Notification once a file loads on FTP server
- Device Management for none-oneM2M Devices?
- Firmware Update and management in oneM2M
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Author of ACME CSE here.
The ACME CSE is an implementation of a oneM2M CSE (Common Services Entity). It supports the http and MQTT bindings for creating, retrieving, updating, and deleting of resources in a oneM2M resource tree. This means you may send requests like the following one to the CSE (using curl):
That request would retrieve the <CSEBase> resource from a CSE running locally at port 8080. Every request needs a couple of mandatory headers and (for CREATE and UPDATE) a body with a resource definition.
If you have no experience with oneM2M then you should have a look at the specifications TS-0001 (Architecture), TS-0004 (Protocol) and TS-0009 (http binding) first (see oneM2M specifications). The "Develop with oneM2M" section on that website provides a good starting point to get a technical overview.
A hands-on tutorial that introduces you to a couple of basic oneM2M concepts is available in the form of Jupiter Notebooks at oneM2M's GitHub repository (disclaimer: I am the author of these tutorial as well). You can download the tutorial, or run the notebooks directly on mybinder.org without any installation efforts.
The tutorial comes with its own installation of the ACME CSE running in a separate notebook online. There are notebooks that will show you how to register your application, and how to work with data containers. For each request the corresponding curl request is shown as well, which then might be good starting point for your own oneM2M application.