Web Services : Learning POST by Example. Invoking Cognitive Service APIs by Microsoft.

i was recently working with some Computer Vision APIs from Microsofts Project Oxford. I was especially interested in the vision apis

https://www.projectoxford.ai/demo/vision#Analysis

As i write this post on Web Services POST .. pun unintended – the interesting thing I noticed working with this vision stuff is how simple they have made the whole process of invoking their web service via POST messages.

Requests:

  1. Request URL
  2. Request Parameters
  3. Request Headers
  4. Request Body

Response:

  1. Response 200
  2. Response 400
  3. Response 415
  4. Response 500.

These folks have even provided code samples in several languages :

  1. Curl
  2. C#
  3. Java
  4. JavaScript
  5. ObjC
  6. PHP
  7. Python
  8. Ruby

References:

–> very helpful. check it out

Code

 

 

 

 

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s