Search found 231 matches

by PedroAlex
Fri Jul 08, 2022 4:15 am
Forum: Xbase++ 2.0
Topic: use xbase to communicate with a rest API
Replies: 8
Views: 4456

Re: use xbase to communicate with a rest API

I made these changes but I still don't get the first step. //============================================================================ Function Teste_SAPHETY() LOCAL oPost LOCAL cResult LOCAL cFile := 'Token.txt' payload = { {'Username', "comercial@algarbytes.pt"}, {'Password', "ab917007041**"} }...
by PedroAlex
Fri Jul 08, 2022 3:00 am
Forum: Xbase++ 2.0
Topic: use xbase to communicate with a rest API
Replies: 8
Views: 4456

Re: use xbase to communicate with a rest API

Hi, You send the username and password as a parameter and not as a json in the body? Is this allowed by the server? With most rest-API you need to send the username and password as a base64encoded string for basic authentication. What tells the documentation of the rest-api about the authentication...
by PedroAlex
Fri Jul 08, 2022 2:53 am
Forum: Xbase++ 2.0
Topic: use xbase to communicate with a rest API
Replies: 8
Views: 4456

Re: use xbase to communicate with a rest API

rdonnay wrote: Thu Jul 07, 2022 11:24 am What response are you getting?
Error Code 400 - Bad request
"A Non-Empty Request is required!"
by PedroAlex
Thu Jul 07, 2022 8:45 am
Forum: Xbase++ 2.0
Topic: use xbase to communicate with a rest API
Replies: 8
Views: 4456

use xbase to communicate with a rest API

Hello! I'm trying to communicate with a rest API. I have no experience with this type of procedure. I need to do this in xbase: Request: 1POST https://dcn-solution.saphety.com/Dcn.Sandbox.WebApi/api/Account/GetToken 2Content-Type: application/json 3 4{ 5 "Username": "comercial@algarbytes.pt", 6 "Pas...
by PedroAlex
Wed Jul 06, 2022 1:29 am
Forum: eXpress++ Support
Topic: Here is an example of the use of Biometric Fingerprint Reader
Replies: 10
Views: 5455

Re: Here is an example of the use of Biometric Fingerprint Reader

And if we read like this!!

TTTTHere is an example of the use of Biometric Fingerprint Reader????????
by PedroAlex
Wed Jun 29, 2022 11:49 am
Forum: eXpress++ Support
Topic: DcBrowse SelectItem on a touchscreen
Replies: 9
Views: 3785

Re: DcBrowse SelectItem on a touchscreen

Hi Chris! So far I only register this problem on machines with windows 10 release 21H1 and 21H2 (I have only had these versions available). At first I was suspicious of the type of touchscreen (resistive or capacitive). But I've given up on this theory and I think this is related to something in win...
by PedroAlex
Wed Jun 29, 2022 2:59 am
Forum: eXpress++ Support
Topic: DcBrowse SelectItem on a touchscreen
Replies: 9
Views: 3785

Re: DcBrowse SelectItem on a touchscreen

Chris and Tom.
do you have conditions to test the example I posted on a touch screen in windows 10?

Many Thanks.
by PedroAlex
Tue Jun 28, 2022 7:39 am
Forum: eXpress++ Support
Topic: DcBrowse SelectItem on a touchscreen
Replies: 9
Views: 3785

Re: DcBrowse SelectItem on a touchscreen

Hi Roger! Alaska XppLoad Version 2.00.1176 This happens on POS terminals with a capacitive touchscreen. I've tested it on several different ones and with the same behavior. I also tested it in POS with resistive touchscreen and it works well. On Windows 7 it also works fine. This problem occurs with...
by PedroAlex
Tue Jun 28, 2022 6:28 am
Forum: eXpress++ Support
Topic: DcBrowse SelectItem on a touchscreen
Replies: 9
Views: 3785

DcBrowse SelectItem on a touchscreen

Hi Roger! I have a strange behavior in DCBrowse Select Item. using a touchscreen in windows 10 With the mouse it works fine, but selected with the finger doesn't work properly. https://youtube.com/shorts/_sISrh6iFtc?feature=share https://youtube.com/shorts/w59flPYeUC0 Have there been any reports of ...
by PedroAlex
Sat Jun 18, 2022 1:08 am
Forum: Xbase++ 2.0
Topic: Strange error when printing that I can't understand..
Replies: 8
Views: 3564

Re: Strange error when printing that I can't understand..

Hello everybody!

Your messages were important to me because they helped me come up with new solutions to improve this routine.

Thank you all.