×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Is there a free-to-use website for trial run of web API consumption ?

Is there a free-to-use website for trial run of web API consumption ?

Is there a free-to-use website for trial run of web API consumption ?

(OP)
Dear Team!

I have to write VFP code to consume a web service API (json for both request and response). Is there a free-to-use website out there offering any sample web service API (preferably accepting request with json data and with json response).

At present, I don't have the complete details of the API I am supposed to consume. What I want now is some way of testing the code if I write a API request POST and to check the response from the API.

Just to make it clearer. It's not about writing an API. I have to write code to consume an API.

Am I thinking in the right direction?

Thanks in advance
Rajesh

RE: Is there a free-to-use website for trial run of web API consumption ?

(OP)
Dear Gagnon,

Yes, they have it seems. But they have not provided even the API yet. It may take a few days.
But, I thought I would prepare the basic routines before hand. That means, by the time they provide
the details, I would have the code which may require, I believe, only minor tweaking to specifically
support their API.

Rajesh

RE: Is there a free-to-use website for trial run of web API consumption ?

Don't think you can prepare that much. APIs I had to use all had their specific hurdles.

Prepare yourself by learning, for example, West Wind Web Connection, it even includes a tutorial for implementing your own simple API and how to use it. The major ingredients of it are class libraries handling the topics of HTTP and JSON, your main ingredients anyway. If you pick that, it won't even be helpful to learn some basic concepts using CreateObject("MSXML2.XMLHTTP.6.0") to learn HTTP basics, Web Connection has simpler handling, see https://webconnection.west-wind.com/docs/_4jf1bofz...

If you start learning something like the Firebase API you'll never be sure that API works by the same structure.

Doug Henning forked the VFPTweetAPI I once wrote to use Twitter from VFP, that has a lot of reusable base code, but mainly used XML and I'm not even sure it'll still work, Twitter has changed a lot.

Bye, Olaf.

Olaf Doschke Software Engineering
https://www.doschke.name

RE: Is there a free-to-use website for trial run of web API consumption ?

(OP)
Thank you Olaf for your inputs

Rajesh

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close