Search found 80 matches: origin

Return to advanced search

Re: Data exchange between PC and Android device on the same loca

Otto:
Thank you so much.

That seems to be exactly what I'm looking for:

How to configure the server and/or a harbor module to respond appropriately to a request from a PWA that is on a different Origin, avoiding violating the CORS policy

I will review it very carefully.
Thanks in advance
by Arturo Lopesoria
Fri Feb 23, 2024 7:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Data exchange between PC and Android device on the same loca
Replies: 17
Views: 798

Re: Intercambio de datos entre PC y dispositivo Android en la m

Estimado,

¿ En el CGI como generas las respuestas ? , ¿ usas la clase TIPCGI ? , si es asi, usa el metodo : :header( "Access-Control-Allow-Origin: * " )

Saludos

Lautaro Moreira
by Lautaro
Wed Feb 21, 2024 2:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Intercambio de datos entre PC y dispositivo Android en la m
Replies: 2
Views: 212

Re: Data exchange between PC and Android device on the same loca

Arturo,
Have you already tried configuring the Apache configuration `Header set Access-Control-Allow-Origin`?
Best regards,
Otto
by Otto
Wed Feb 21, 2024 8:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Data exchange between PC and Android device on the same loca
Replies: 17
Views: 798

Re: Intercambio de datos entre PC y dispositivo Android en la m

... usas httpd creo recordar que habia la funcion UAddHeader(). Puedes probar antes de generar la salida -> UAddHeader( "Access-Control-Allow-Origin", "*" ) Si no usas ssl te pueden facilmente leer el contenido. Tu escenario es el tipico de uso de webservices. Tampoco autenticas ...
by Carles
Wed Feb 21, 2024 6:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Intercambio de datos entre PC y dispositivo Android en la m
Replies: 2
Views: 212

Data exchange between PC and Android device on the same loca

... violates the CORS rules, generating the error: Access to XMLHttpRequest at 'http://192.168.1.110/cgi-bin/menu_jmg.hrb?qry=ASKING_SIMPLE_TEXT' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Which means it doesn't ...
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: 798

Intercambio de datos entre PC y dispositivo Android en la m

... viola las normas CORS, generando el error: Access to XMLHttpRequest at 'http://192.168.1.110/cgi-bin/menu_jmg.hrb?qry=ASKING_SIMPLE_TEXT' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Lo que significa que no ...
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: 212

Sankey Diagram - FIVEWIN/WEBVIEW sample

Dear friends, Useful for representing flow charts WINHOTEL Such a diagram would effectively visualize how the origin of guests is distributed across various age groups. For example, a wider path from the age group 18-25 to Germany would indicate that a larger proportion of guests ...
by Otto
Sun Jan 14, 2024 8:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sankey Diagram - FIVEWIN/WEBVIEW sample
Replies: 0
Views: 607

Re: Ejemplo de mail sin intervención del usuario

hi, MAIL have more Option like ORIGIN or FROM USER DEFINE MAIL [ <oMail> ]; [ SUBJECT <cSubject> ]; [ TEXT <cText> ]; [ TYPE <cType> ]; [ DATE <dDate> ]; [ TIME <cTime> ]; [ CONVERSATION <cConversation> ...
by Jimmy
Fri Sep 15, 2023 1:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejemplo de mail sin intervención del usuario
Replies: 3
Views: 208

Re: TWebView y Javascript

respuesta de chatGPT: Use a local web server: Running a local web server allows you to serve your files over HTTP, which helps bypass the same-origin policy restrictions. There are several lightweight web servers available that you can install and run locally, such as Node.js with Express, Python's ...
by Antonio Linares
Mon Jul 17, 2023 7:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWebView y Javascript
Replies: 6
Views: 435

Re: simple image viewer - sample

Dear Otto, very, very good indeed. Excellent definition. Congratulations. Estimado Otto, muy, muy bien de hecho. Excelente definición. Parabiéns. Origin / Origen: https://forums.fivetechsupport.com/viewtopic.php?f=3&t=43295&sid=fe6c663cbbfc32d427290cbb413d24b9 Regards, saludos.
by karinha
Fri Jun 09, 2023 2:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: simple image viewer - sample
Replies: 3
Views: 289

Best FWH functions for API, Hash, Curl

... subdata's like Key, Value, Type.... I suspect that FWH has functions already build for generating this kind of strings, thinking that the data origin in my case sits in a dbf. I know that i have to make a matching function for the dbf data to the online data. Do these functions exist ? of do ...
by Marc Venken
Sat Oct 30, 2021 5:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Best FWH functions for API, Hash, Curl
Replies: 2
Views: 485

Re: Error on Windows Seven - download a file from a website

This may help: https://stackoverflow.com/questions/48530690/https-request-blocked-in-windows7 objXMLHTTP.setRequestHeader "Origin", ls_address I tried with that but Error description: (DOS Error -2147352567) WINOLE/1007 Errore nel supporto per il canale di protezione (0x80072F7D): ...
by Silvio.Falconi
Wed Oct 06, 2021 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error on Windows Seven - download a file from a website
Replies: 2
Views: 464

Re: hb_urlencode

... We renamed TIP_URLDECODE() into HB_URLDECODE() in mod_harbour to remember its origin: https://github.com/FiveTechSoft/mod_harbour/blob/master/source/url.c Giancarlo also provides a TIP_URLENCODE() but we have not needed ...
by Antonio Linares
Wed Apr 14, 2021 10:28 am
 
Forum: mod_harbour
Topic: hb_urlencode
Replies: 1
Views: 303

Open Excel file with TOleAuto() - parameters

... The sintaxis for the command is: :Open (FileName, UpdateLinks, ReadOnly, Format, Password, WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter, Editable, Notify, Converter, AddToMru, Local, CorruptLoad) I need send UpdateLinks with .F. and ReadOnly with .T. Thanks in advance
by hidroxid
Sat Mar 06, 2021 10:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Open Excel file with TOleAuto() - parameters
Replies: 1
Views: 412
Next

Return to advanced search

cron