Search found 5 matches

by thanos
Wed Apr 12, 2023 8:30 pm
Forum: Coding Questions
Topic: HTTPRequest
Replies: 5
Views: 4231

Re: HTTPRequest

Paul wrote: Tue Apr 11, 2023 9:03 pm Your SpiderBasic code must be exported and run from the same server as your script.
If you are running your code from the IDE you will have the same problem.
Thanks Paul.
I run the code, in both cases, from the IDE
I will try to export it
Regards
by thanos
Tue Apr 11, 2023 7:39 pm
Forum: Coding Questions
Topic: HTTPRequest
Replies: 5
Views: 4231

Re: HTTPRequest


If you look at the output in the Developer Console of your browser, you will see the following:

Access to XMLHttpRequest at 'https://www.adouros.gr/projects/papertrade/pelates.php?_=1680976679930' from origin 'http://127.0.0.1:9080' has been blocked by CORS policy: No 'Access-Control-Allow ...
by thanos
Sat Apr 08, 2023 11:25 am
Forum: Coding Questions
Topic: HTTPRequest
Replies: 5
Views: 4231

HTTPRequest

Hello.
I tried to run the HTTRequest example. SpiderBasic 2.40

Procedure HttpGetEvent(Success, Result$, UserData)
If Success
Debug Result$
Else
Debug "HTTPRequest(): Error"
EndIf
EndProcedure

; Get the content of this file, and display it in the debug window
;
HTTPRequest(#PB_HTTP_Get ...
by thanos
Sat Apr 15, 2017 3:49 pm
Forum: Feature Requests and Wishlists
Topic: Web Database
Replies: 7
Views: 6556

Re: Web Database

+1

A database is a must feature for SB.