Page 6 of 6 FirstFirst ... 3456
Results 51 to 55 of 55

Thread: Creating RESTful web services in DataFlex

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

    Default Re: Creating RESTful web services in DataFlex

    Edgar

    You don't need to buy additional products, you can do it all in DataFlex, which is what this sub-forum is all about.

    The cHttpTransfer class, or the cJsonHttpTransfer class, will do what is required for actually consuming RESTful APIs.

    For dealing with authentication, there are other classes here that will help with that as well. There are copious examples for using OAuth 2.0, for instance. For Basic Authentication ("Basic Auth"), you only need to set the psUserName and psPassword properties of the two classes above.

    Mike
    Last edited by Mike Peat; 21-Jul-2019 at 01:10 PM. Reason: username & password

  2. #52
    Join Date
    Feb 2009
    Location
    Colombia
    Posts
    2,509

    Default Re: Creating RESTful web services in DataFlex

    Mike:

    I'm lost in this link

    https://support.dataaccess.com/Forum...tpTransfer-pkg

    Edgar

  3. #53
    Join Date
    Feb 2009
    Location
    Colombia
    Posts
    2,509

    Default Re: Creating RESTful web services in DataFlex

    Mike

    This works well in SOAPUI (The token I send it to the email, I add it to the header)

    Edgar
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	prueba.png 
Views:	61 
Size:	4.4 KB 
ID:	12958  

  4. #54
    Join Date
    Apr 2009
    Location
    Wilmington NC, USA or Oaxaca Mexico
    Posts
    919

    Default Re: Creating RESTful web services in DataFlex

    Edgar,

    See my Using the MailChimp API presentation for some example code. You will find it here:

    http://www.disdconference.com/index....presentations/

  5. #55
    Join Date
    Feb 2009
    Location
    Colombia
    Posts
    2,509

    Default Re: Creating RESTful web services in DataFlex

    thanks Dan

Page 6 of 6 FirstFirst ... 3456

Posting Permissions

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