Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #28984

Re: Java API for RESTful Services

Date 2014-07-06 19:12 -0400
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Java API for RESTful Services
References <27ea72bb-99ad-4a0f-bca4-c3cbafdf032a@googlegroups.com> <53b973e1$0$291$14726298@news.sunsite.dk> <a8ae7ef9-01ee-41e9-9416-b78a226d3572@googlegroups.com> <53b979bf$0$299$14726298@news.sunsite.dk> <0220c8d4-ecad-4877-b593-95eacb3c890b@googlegroups.com>
Message-ID <53b9d7ec$0$293$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


On 7/6/2014 12:48 PM, Jason Petersson wrote:
> The response payload is even simpler than XML, JSON, CSV. Basically
> just returns a 0 or 1. With the HTTP Client there is sometime some
> additional whitespace parsing required. I believe the the minimal
> effort required to parse the response, the better.
>
> https://authrequest.com/auth/auth?method=authenticate&organization=a&username=a&password=a
>
>1 if failed and 0 if successful

I think this is in the true spirit of REST. If it can be done simple,
then no need to make it complex.

Arne

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Java API for RESTful Services jason.petersson@gmail.com - 2014-07-06 09:01 -0700
  Re: Java API for RESTful Services Arne Vajhøj <arne@vajhoej.dk> - 2014-07-06 12:05 -0400
    Re: Java API for RESTful Services jason.petersson@gmail.com - 2014-07-06 09:26 -0700
      Re: Java API for RESTful Services Arne Vajhøj <arne@vajhoej.dk> - 2014-07-06 12:30 -0400
        Re: Java API for RESTful Services Jason Petersson <jason.petersson@gmail.com> - 2014-07-06 09:48 -0700
          Re: Java API for RESTful Services Arne Vajhøj <arne@vajhoej.dk> - 2014-07-06 19:12 -0400
  Re: Java API for RESTful Services Daniele Futtorovic <da.futt.news@laposte.net> - 2014-07-06 22:35 +0200
  Re: Java API for RESTful Services Joerg Meier <joergmmeier@arcor.de> - 2014-07-08 00:14 +0200

csiph-web