RESTful Implementation


I am new to implementation of RESTful service where I am trying to built POC for same in wM version 9.7x
I have implemented logic shown in below screen shot, so can anyone pls confirm
Have I implemented RESTful service correctly or I am missing something here, off context.

RESTful service logic with HTTP GET method for addition of two integers

Invoking rest service via URL

Can’t see your screen shot. Did you forget to attach it?