Libcurl faq (https://github.com/mikeduglas/libcurl)

OK thanks for the update.

v1.51 (experimental) is ready. The main goal is to fix “bad/illegal format or missing URL” error introduced in recent libcurl.dll builds.

1 Like

Hi Mike,

Downloaded Ver 1.51 (experimental).
Compiled and it changes folders 100%.

Thank you very much for your quick fix.

Regards

Johan de Klerk

Hi Mike
Trying to compile and get error missing printf.inc for libcurldropbox

thanks

v1.51 doesn’t depend on printf, only Google translate example does.

Sorry I found it in some previous post and it is OK now, when you open libcurldropbox there is include for printf

Does anyone see the same as me? libcurldropbox.clw:

! INCLUDE(‘printf.inc’)

First 2 lines of libcurldropbox.clw:

!** libcurl for Clarion v1.51
!** 24.11.2021

Thanks Mike

I found that on some previous posts so it is perfect now

Dragan

Does anyone see the same as me? libcurldropbox.clw:

Just added a FAQ topic on GitHub:

Hi Mike,

In Ver 1.51:
!** libcurl for Clarion v1.51
!** 24.11.2021
! INCLUDE(‘print.f.inc’)

Regards

Johan de Klerk

CURL.exe, receive this response from the server.

HTTP/2 200
date: Mon, 29 Nov 2021 17:04:47 GMT
content-type: application/json; charset=utf-8
content-length: 15
server: gunicorn
myordersid: 16024371
myorders_qty of_total_records: 0
vary: Authorization, Cookie, Accept-Encoding

Clarion how to proceed?

Have you read FAQ topic?

Hi all,

how would You translate this curl command line to libcurl?

curl ‘https://HOST
-X POST
-H ‘Content-type: application/json’
–data ‘JSON_ENCODED_INVOICE’
-v
–cert SERIAL_NUMBER.PEM:PASS
–cacert CA.PEM

Have you seen FAQ topic? The link is 5 replies above this one.

And please don’t post your questions here, open new thread. This thread is mostly unusable.