Search found 68 matches

by GMKai
Sat Mar 28, 2020 4:37 pm
Forum: General plugin questions
Topic: hurl and oauth2
Replies: 3
Views: 93

Re: hurl and oauth2

Thanks for the hint.
When will the new Version become available?

Currently working with json gives real headache...
by GMKai
Fri Mar 27, 2020 10:42 am
Forum: General plugin questions
Topic: hurl and oauth2
Replies: 3
Views: 93

Re: hurl and oauth2

Issue has been solved, Local e = hurl.Easy() Local str$ = "Authorization: Bearer "..MyBearer Local str2$ = "Accept: application/json" Local headers = {str$,str2$} e:SetOpt_SSL_VerifyPeer(False) e:SetOpt_SSLCert("file.crt.pem") e:SetOpt_SSLKey("file.key.pem") e:SetOpt_XOAUTH2_BEARER(MyBearer) e:SetOp...
by GMKai
Thu Mar 26, 2020 11:17 am
Forum: General plugin questions
Topic: hurl and oauth2
Replies: 3
Views: 93

hurl and oauth2

Currently I play around with a given API. I can recieve some Bearer token with a post request. Then I have to put that token into my GET-request. I was under the impression, that I would have to use e:SetOpt_HTTPAuth("CURLAUTH_BEARER") ;e:SetOpt_HTTPAuth(bitmask) to do so. But I get this error: Gett...
by GMKai
Sun Feb 17, 2019 9:42 am
Forum: Hollywood bugs
Topic: Hollywood 8 - line handling
Replies: 2
Views: 538

Re: Hollywood 8 - line handling

okay,
with this site i can see some additional chars:
https://www.soscisurvey.de/tools/view-chars.php

is there a nice way to replace none-whitespacecharactes with simple " "?
by GMKai
Sun Feb 17, 2019 9:22 am
Forum: Hollywood bugs
Topic: Hollywood 8 - line handling
Replies: 2
Views: 538

Hollywood 8 - line handling

Hello, after upgrading to Hollywood 8 I run into the following problem: Work:HSM/HSM_Game/team.hws:435: Unerwartetes Zeichen! given line is:  While (res <> 101) Highlighting whitespaces does not give a hint to some obscure sign. And the script worked with HW7. Any hints on what got changed or is han...
by GMKai
Sat Feb 02, 2019 1:05 pm
Forum: Newbie questions
Topic: Append info to file
Replies: 2
Views: 622

Append info to file

Function p_WriteLog(logline) Local str$ = "" ;OpenFile(1, "t:test.log",#MODE_WRITE) OpenFile(1, "t:test.log",#MODE_READWRITE) Seek(1,#EOF) str$ = logline.."\n" WriteString(1, str$) CloseFile(1) EndFunction DeleteFile("t:test.log") p_WriteLog("ABC") p_WriteLog("Test2") With the snippet above the log...
by GMKai
Thu Aug 16, 2018 2:07 pm
Forum: General plugin questions
Topic: SQLite and Parameters
Replies: 3
Views: 3036

Re: SQLite and Parameters

or maybe use
bind_values()
instead!
Thanks for your effort
by GMKai
Wed May 02, 2018 11:00 pm
Forum: General plugin questions
Topic: SQLite and Parameters
Replies: 3
Views: 3036

SQLite and Parameters

Hello, I try to pass parameters, to a dynamic sql, here the failing short example. What am I doing wrong? @VERSION 7,0 @REQUIRE "sqlite3" db = sqlite3:open_memory() Local res = db:exec([[ CREATE TABLE db_stadionblock (clubid INTEGER Not NULL, blockid STRING(1) Not NULL, size INTEGER,cond INTEGER,sta...
by GMKai
Wed Dec 27, 2017 9:35 pm
Forum: MUI Royale
Topic: Cycle items with textformat
Replies: 5
Views: 1650

Re: Cycle items with textformat

It was not missed to have to set \27 but it didn't work in first place. So I changed to \33 but as we know by now that was not the real problem. When updating documentation, please give some examples to point others to the need of good escaping. From current documentation it did not come to my mind ...
by GMKai
Mon Dec 25, 2017 8:08 am
Forum: MUI Royale
Topic: Cycle items with textformat
Replies: 5
Views: 1650

Re: Cycle items with textformat

I see.
I missed to double the \\.

Can you maybe put that into the documentation?