Reputation: 1532
From what I understand the Spark Framework for Java makes it very easy to run a restful server that accepts, POST, GET, etc..
Is there an easy way to send a POST out using the spark library?
The idea is to handle requests asynchronously and to respond via a callback. That callback requires an asynchronous post to come from my application to another web server.
Upvotes: 3
Views: 1565
Reputation: 1359
You'll have to add another library to act as the rest client. Spark is intended to be a rest server.
Upvotes: 2