Results 1 to 6 of 6

Thread: RestAPI and callback URL

  1. #1
    Join Date
    Feb 2009
    Location
    Kungsbacka, Sweden
    Posts
    841

    Default RestAPI and callback URL

    Hi!

    Before i write mile long description, is there any thread here describing on how to handle a RestAPI with callback URL.

    The service i am consuming takes a POST argument and then all is dependent on callbacks to a URL.

    Has any one done this in a Windows application (NOT WEB), is there a blog, link to other posts?

    I have tried to search on different criterias but can not find anything.
    Martin Arvidsson, Data Martin i Kungsbacka AB

    I have six locks on my door all in a row. When I go out, I lock every other one. I figure no matter how long somebody stands there picking the locks, they are always locking three.

  2. #2
    Join Date
    Feb 2009
    Location
    Stuart, FL
    Posts
    5,322

    Default Re: RestAPI and callback URL

    for a callback url you will need to implement a REST service that can be called

    this will require a web application of course
    Michael Salzlechner
    StarZen Technologies, Inc
    http.://www.starzen.com

    IT Director at Balloons Everywhere

    Development Blog
    http://www.salzlechner.com/dev

    DataFlex Package Manager (aka Nuget for DataFlex)
    http://windowsdeveloper.com/dfPackage

  3. #3
    Join Date
    Feb 2009
    Location
    Kungsbacka, Sweden
    Posts
    841

    Default Re: RestAPI and callback URL

    OK!

    So i need to have a web application in order to consume the callback url from the RestAPI that the supplier provides me?

    If so, this is a bit of a problem since the consuming application is a desktop
    Martin Arvidsson, Data Martin i Kungsbacka AB

    I have six locks on my door all in a row. When I go out, I lock every other one. I figure no matter how long somebody stands there picking the locks, they are always locking three.

  4. #4
    Join Date
    Feb 2009
    Posts
    5,470

    Default Re: RestAPI and callback URL

    Some services implement OOB (Out of Band) where the service sends back a HTTP redirect to the caller, but these are not very common
    Success consists of going from failure to failure without loss of enthusiasm - Winston Churchill

  5. #5
    Join Date
    Feb 2009
    Location
    Stuart, FL
    Posts
    5,322

    Default Re: RestAPI and callback URL

    yes. depending on how complex the callback is and what db you are using you could implement a simple web service in dot net but it still requires you to have a web server running that is accessible to the caller

    just to make sure i understand you correctly

    you are calling a web service via POST and you are giving them a URL that they will call as the callback to send data to you
    Michael Salzlechner
    StarZen Technologies, Inc
    http.://www.starzen.com

    IT Director at Balloons Everywhere

    Development Blog
    http://www.salzlechner.com/dev

    DataFlex Package Manager (aka Nuget for DataFlex)
    http://windowsdeveloper.com/dfPackage

  6. #6
    Join Date
    Mar 2009
    Location
    Beech Hill - a village near Reading in the UK
    Posts
    2,812

    Default Re: RestAPI and callback URL

    Martin

    If you can describe the situation more fully, I may be able to help. I have stuff kind of like this working in Windows.

    It does require a web server on the client (in the sense of "client of the REST service") machine though. But everybody has that, right?

    Mike

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •