Search found 656 matches: curl

Return to advanced search

Re: SWAGGER-UI para documentar nuestras API.

... but your have documentation in https://mailchimp.com/developer/marketing/api/root/list-api-root-resources/ Your need {apikey}, etc.. Example using curl from command line; curl -X GET \ 'https://${dc}.api.mailchimp.com/3.0/?fields=<SOME_ARRAY_VALUE>&exclude_fields=<SOME_ARRAY_VALUE>' ...
by thefull
Wed Mar 06, 2024 5:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SWAGGER-UI para documentar nuestras API.
Replies: 9
Views: 1980

Re: How to include hbCurl?

HI,
you can generate C code from the CURL command line
adding "--libcurl filename.c" to the end of the command line

below is an example:
curl http://example.com --libcurl example.c

look at the link
https://everything.curl.dev/libcurl/libcurl
by vensanto
Wed Mar 06, 2024 5:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2951

Re: How to include hbCurl?

Dear Otto,

> What are the disadvantages of shellExec()?

I guess the only problem is that the user does not have curl.exe installed or at the right path
by Antonio Linares
Sun Mar 03, 2024 8:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2951

Re: How to include hbCurl?

Hello Tim, thank you for your help. While I was looking for a solution yesterday to make cUrl common in my desktop program, I then tried a solution with the command prompt and shellExecute. That works well. What are the disadvantages of shellExec()? I have been using ...
by Otto
Sun Mar 03, 2024 8:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2951

Re: xBrowse with UrlLink

... ..." ,solo así podríamos tener el efecto de color over con el mouse oURL:= New( nTop, nLeft, oWnd, lPixel, lDesign, oFont, cMsg, cURL, cToolTip, nClrInit, nClrOver, nClrVisit, lTransp )
by Silvio.Falconi
Wed Feb 28, 2024 8:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse with UrlLink
Replies: 3
Views: 195

Re: function urlLoad( cUrl )

Dear Antonio, thank you very much for pointing me to the wiki. This is wonderful. Kind regards and have a nice day, Ruth
by Ruth
Mon Feb 19, 2024 7:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: function urlLoad( cUrl )
Replies: 17
Views: 1681

Re: function urlLoad( cUrl )

Dear friends, please can you help me...I try to follow along and was busy reading what I found in our manual folder (fwfun.chm, fwcmd.chm, fwclass.chm,...). Now I am curios about XImage(), WebpageContents() where could I find out more about these interesting things? Maybe someone would be kind enou...
by Antonio Linares
Sat Feb 17, 2024 8:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: function urlLoad( cUrl )
Replies: 17
Views: 1681

Re: function urlLoad( cUrl )

Hi,

Curl supports many protocols and gives you many options. It is a very good option for working with the web, regardless of other options. Perhaps in this case its potential is not appreciated but I think it is good practice to use it from harbour.

Regards
C.
by Carles
Sat Feb 17, 2024 7:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: function urlLoad( cUrl )
Replies: 17
Views: 1681

Re: function urlLoad( cUrl )

Dear friends, please can you help me...I try to follow along and was busy reading what I found in our manual folder (fwfun.chm, fwcmd.chm, fwclass.chm,...). Now I am curios about XImage(), WebpageContents() where could I find out more about these interesting things? Maybe someone would be kind enoug...
by Ruth
Sat Feb 17, 2024 4:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: function urlLoad( cUrl )
Replies: 17
Views: 1681

Re: function urlLoad( cUrl )

Enrico, here how I use it with web:


viewtopic.php?f=45&t=44242

Best regards,
Otto
by Otto
Sat Feb 17, 2024 2:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: function urlLoad( cUrl )
Replies: 17
Views: 1681

Re: function urlLoad( cUrl )

nageswaragunupudi wrote:Both the functions WebPageContents() and URLDownloadToFile() work only on Windows OS.
For Web Applications, we need platform independent tools and CURL seems to be the popular choice.


I never needed of such a function for web applications.
by Enrico Maria Giordano
Sat Feb 17, 2024 2:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: function urlLoad( cUrl )
Replies: 17
Views: 1681

Re: function urlLoad( cUrl )

You have to link wininet.lib from your C compiler.
by Enrico Maria Giordano
Sat Feb 17, 2024 2:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: function urlLoad( cUrl )
Replies: 17
Views: 1681

Re: function urlLoad( cUrl )

Or this? #include "Fivewin.ch"FUNCTION MAIN()    ? URLDOWNLOADTOFILE( "https://www.emagsoftware.it/logo.png", "emaglogo.png" ) = 0    RETURN NIL#pragma BEGINDUMP#include "hbapi.h"#include "urlmon.h"#include "wininet.h"HB_FU...
by karinha
Sat Feb 17, 2024 1:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: function urlLoad( cUrl )
Replies: 17
Views: 1681

Re: function urlLoad( cUrl )

Both the functions WebPageContents() and URLDownloadToFile() work only on Windows OS.
For Web Applications, we need platform independent tools and CURL seems to be the popular choice.
by nageswaragunupudi
Sat Feb 17, 2024 1:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: function urlLoad( cUrl )
Replies: 17
Views: 1681

Re: function urlLoad( cUrl )

There are many ways to skin the cat. :-)
by Enrico Maria Giordano
Sat Feb 17, 2024 12:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: function urlLoad( cUrl )
Replies: 17
Views: 1681
PreviousNext

Return to advanced search