I want to create REST implementation for System Information which is under Legacy-UI module. I have identified the required SystemInfo code base files in module repo.
Now I want to implement REST for this functionality. I have referred Wiki tutorials also. (For Module developers and for Core developers). But I couldn’t find out the exact to way to perform this task.
Can someone help me to implement REST for this functionality? (It would be better If anyone mentions the extract ways)
What happens if you access this URL using postman or some other REST client
(specifically, with the Accept header set to application/json)? I.e. this
might just be a problem in converting the response to XML…
(Also you could try adding .json to the url in the browser.)