Reputation:
I am creating an add-on for my browser that should report the websites you visit automatically to some remote server (no server response needed).
The browser extension is written in Javascript, so I suppose XHR requests are available for me to make. The only thing that comes to mind for me is to create a RESTful web-service and use that but I am thinking that there must be an easier way? or is SOAP the way to go?
Upvotes: 0
Views: 183
Reputation: 3609
If you want to go with REST and you like Java then I'd recommend jersey: http://jersey.java.net/
If you really want simple and aren't concerned with following all the REST principles you can just make a simple perl cgi or php script and just post the request to it.
Upvotes: 1