středa 7. března 2012

Current state of RESTfulChecker

Current state of my project RESTfulChecker as of this commit is:
You can use HTTP client, or check API.

Http client is just helper, it won't be visible in future versions but for now is fairly operational. You can send customized HTTP requests with it and it will show responses for you.

Check API is main thing in RESTfulChecker and its on starting point now. You can try accessing some REST API with it. So far it tries to access remote API by GET method. If it succeeds (judged by response code 200) it parse response for hrefs and show them (which is now strangely bugged - hrefs are found properly, but they are "doubled" somehow - gotta repair it first).
Secondly, when it won't succeed because of 401 Unauthorized - it provides you with an option to specify authorization headers - for example for site RESTful database you can do that by this header:
Authorization Basic cDEyNjM3MXJ3OmRlbW8=
which is basic authorization based on Base64 coding of string containing user:password

Žádné komentáře:

Okomentovat