Page 1 of 1

Peticiones POST GET

PostPosted: Thu Apr 01, 2021 12:22 pm
by leandro
Buenos días para todos.

En estos días iniciaré con el aprendizaje en mod_harbour, lo primero que deseo hacer es reemplazar un pequeño web service que tengo montado en php. Me gustaría de momento saber como hago para recibir peticiones de tipo GET, POST las cuales vienen con información de cabecera authorization: Basic y un archivo json adjunto.

De antemano gracias,

Re: Peticiones POST GET

PostPosted: Thu Apr 01, 2021 2:14 pm
by Antonio Linares

Re: Peticiones POST GET

PostPosted: Tue Oct 05, 2021 9:26 pm
by Otto
Hello friends,
maybe someone can help me.

This example works when I call the web service on the modharbour.org server.
But it doesn't work when I put the link on my server.
Do you have to set something on the server so that it is allowed?
Best regards,
Otto



This is not working.
curl_easy_setopt( hCurl, HB_CURLOPT_URL, "https://winhotel.space/samples/webservice.prg" )



This is working fine.
curl_easy_setopt( hCurl, HB_CURLOPT_URL, "http://www.modharbour.org/modharbour_samples/webservice.prg" )