Java Reference
In-Depth Information
We can also insert a single record by selecting the POST method from the dropdown
and passing either XML or JSON-formatted data. For example, if we want to test
the post method using JSON, we would select
POST(application/json)
, enter the
JSON-formatted data for a new customer, and click on the
Test
button.
Now that we have verified that our RESTful web service was deployed successfully,
the next step is to implement a client application that uses our service. However,
before doing so, let's take a look at the
ApplicationConfig
class generated
by NetBeans.