Search found 564 matches: json

Return to advanced search

Re: Pruebas con WhatsApp

... unos parámetros (*) (*) Estaría bien que tuviéramos un .exe python con distintas funcionalidades al que se le pasa como parámetro el nombre de un json y devuelve otro con el mismo nombre y _respuesta de sufijo Mis 2 eurocents
by paquitohm
Wed Apr 17, 2024 4:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pruebas con WhatsApp
Replies: 7
Views: 212

Re: How to include hbCurl?

... := "tag1"   // De naam van de tag   cTagStatus := "active"  // De status van de tag*** Constructie JSON-payload met de enkele tagcJsonPayload := '"tags": { "name": "' + cTagName + '", "status": "' + cTagStatus ...
by Marc Venken
Wed Mar 20, 2024 1:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2929

Re: How to include hbCurl?

... in a MailChimp list using the MailChimp API and curl in a command line environment. The issue appears to be with the way you're formatting the JSON data in your curl command. Let's break down the correct format and structure for your curl command to add tags to a member. Here's the general ...
by Otto
Wed Mar 20, 2024 4:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2929

Re: SWAGGER-UI para documentar nuestras API.

Dear Marc Mailchimp exposes Marketing API (and others) in OAS format at https://api.mailchimp.com/schema/3.0/Swagger.json This format can be read with Postman https://www.postman.com/ You can import from File -> Import -> Link -> https://api.mailchimp.com/schema/3.0/Swagger.json ...
by Joaquim Ferrer
Wed Mar 06, 2024 6:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SWAGGER-UI para documentar nuestras API.
Replies: 9
Views: 1956

Re: SWAGGER-UI para documentar nuestras API.

... ; Al llamar a dicho endpoint, el servidor responderá con la llamada a la funcion Suagger() propuesta por Rafa, que es la encargada de devolver el json en el formato necesario (OPenApi) Supongo que será igualmente fácil adaptar a otros servidores basados en harbour (UT de Charly, etc...) y también ...
by Joaquim Ferrer
Tue Mar 05, 2024 10:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: SWAGGER-UI para documentar nuestras API.
Replies: 9
Views: 1956

SWAGGER-UI para documentar nuestras API.

... swaggerapi/swagger-ui  Tendremos que tener un endpoint en nuestra API, /v3/api-docs, que deberá devolver un json con la especificacion de nuestra API, en formato OpenAPI Bien, en Harbour será tan sencillo como especificar nuestra , vaya, especificación, os ...
by thefull
Mon Mar 04, 2024 7:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SWAGGER-UI para documentar nuestras API.
Replies: 9
Views: 1956

Re: Una consulta sobre VSCode y la compilación del proyecto

... estos pasos: Abre tu proyecto en VSCode: Asegúrate de tener instalado VSCode y de tener abierto tu proyecto en la interfaz. Crea un archivo tasks.json: En el menú de VSCode, ve a "View" y selecciona "Terminal" para abrir la terminal integrada. En la terminal, usa el siguiente ...
by jose_murugosa
Wed Feb 28, 2024 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una consulta sobre VSCode y la compilación del proyecto
Replies: 2
Views: 127

Re: Una consulta sobre VSCode y la compilación del proyecto

... estos pasos: Abre tu proyecto en VSCode: Asegúrate de tener instalado VSCode y de tener abierto tu proyecto en la interfaz. Crea un archivo tasks.json: En el menú de VSCode, ve a "View" y selecciona "Terminal" para abrir la terminal integrada. En la terminal, usa el siguiente ...
by Antonio Linares
Wed Feb 28, 2024 9:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una consulta sobre VSCode y la compilación del proyecto
Replies: 2
Views: 127

AP_SetStatusCode

Hello friends,
I find AP_SetContentType("application/json") in apache.prg as EXTERN but I can't find

AP_SetStatusCode(200) and AP_AddHeader("Another-Header", "HeaderValue").
Are these in another part of sourcecode?
Best regards,
Otto
by Otto
Mon Feb 26, 2024 4:40 am
 
Forum: mod_harbour
Topic: AP_SetStatusCode
Replies: 2
Views: 147

Data exchange between PC and Android device on the same loca

... data from .dbf tables, which reside on the PC and at that point the prg program hard-coded opens tables, and generates responses either in array, json or hash, whichever is most compatible with the scenario. B.- On the FRONT-END CLIENT side I use an html-javascript-jQuery APP encapsulated using ...
by Arturo Lopesoria
Tue Feb 20, 2024 11:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Data exchange between PC and Android device on the same loca
Replies: 17
Views: 769

Intercambio de datos entre PC y dispositivo Android en la m

... de tablas .dbf, que reciden en la PC y en ese punto el programa prg de manera hard-coded abre tablas, y genera respuestas ya sea en formato array, json o hash, lo que resulte más compatible con el escenario. B.- Del lado CLIENTE FRONT-END Uso una APP html-javascript-jQuery encapsulada mediante ...
by Arturo Lopesoria
Tue Feb 20, 2024 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Intercambio de datos entre PC y dispositivo Android en la m
Replies: 2
Views: 202

Re: RC to PRG generator

... eventually gave up on the attempt. It's interesting that I can't find any RC2HTML converters on the web. I tried with JavaScript. First, I made a JSON but now I have the elements but not the positioning. Best regards, Otto <!DOCTYPE html><html lang="de"><head>  ...
by Otto
Mon Feb 12, 2024 9:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1180

Re: Switching my setup program to webview2

... actually hard to believe that there are no converters like rcToHtml, but I couldn't find anything. What worked for me was converting the RC into a JSON and then transforming it with a html/JS program - reading it out after calling from the development tools. However, the result is worse than using ...
by Otto
Sat Feb 10, 2024 6:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Switching my setup program to webview2
Replies: 9
Views: 397

Re: JSON2DBF adapter

... Thank you for your help. The function is working fine as long as there are no dates in the DBF. I am concerned about what happens if the DBF and JSON do not have the same structure. We also need an assigning part within this function. You should be able to assign a key/value pair from the hash ...
by Otto
Sun Feb 04, 2024 8:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: JSON2DBF adapter
Replies: 3
Views: 501

tinyAstrology another AI training model example

... have created the dataset using chatgpt: 1. You ask chatgpt "tell me small questions and answers related to this topic and write the answer in json format" 2. You tell chatgpt to do it again without including previous responses Once we have the dataset then we train tinyLlama and we get ...
by Antonio Linares
Fri Feb 02, 2024 10:57 am
 
Forum: Artificial Intelligence examples
Topic: tinyAstrology another AI training model example
Replies: 0
Views: 145
Next

Return to advanced search