Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 179 - Mapping curl to httpRequest  (Read 4056 times)
Reuben B.
Four Js
Posts: 1116


« on: June 15, 2023, 01:24:14 am »

When coding a request to a third party Web Service, it would be nice if they follow standards and provide an OpenAPI specification that you can use fglrestful or fglwsdl to generate 4gl code.
 
Unfortunately not all Web Service providers do this.  What you may find is that their API documentation provides helper classes or code examples in various programming languages but not Genero.  You have to then interpret their documentation to write your 4gl code.
 
Hopefully they have some curl examples at which point it is then a case of understanding a correlation between various curl options and 4gl methods in order to build your 4gl code to call a Web Service.

Read more at https://4js.com/ask-reuben/ig-179/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines