Snippets Of The Day – Tuesday, October 01, 2013

Posted on Posted in Snippets

code-snippet

Here are some of the most recently published snippets!

Search snippets with Snip2Code APIs

This method calls Snip2Code web service to search for the snippets matching the given filters. This method can be called both as anonymous user (without having previously logged-in, in this case the results will be only public snippets) or as logged user (in this case the results will be found in the basket of user’s visible snippets).

Open the snippet

Author: snip2code

How to login with Snip2Code APIs

This is an example of the login procedure to consume Snip2Code APIs that need authorization. The simple HTTP request to the login endpoint is then deserialized and the resulting User object is returned as result.

Open the snippet

Author: snip2code

Leave a Reply

Your email address will not be published. Required fields are marked *