NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - wasatchconsulting

Pages: 1 2 [3] 4 5
31
Web Server - Ask For Help / Re: SSL in Safari on Iphone
« on: August 25, 2022, 07:25:49 AM »
I have discovered that this is an issue with GoDaddy. They had an issue this year and the SSL needs to be reissued to correct the problem.

Thanks
Ken Watts

32
Web Server - Ask For Help / SSL in Safari on Iphone
« on: August 24, 2022, 07:35:37 PM »
I have a NetTalk Webserver app running with a third party SSL from GoDaddy. Works fine for every browser with the exception of Safari. It comes back saying that the SSL is not trusted. As I said, all other browsers (including Chrome on iOS) has no problem with it. Anyone else run into this?

Thanks
Ken Watts

33
Web Server - Ask For Help / Popup form focus issue
« on: August 20, 2022, 07:35:56 PM »
I have a popup form with the save and cancel buttons located above the fields (at the top of the form). I noticed that the focus was not on the first field and discovered that the focus is on the Save button. If I select for the buttons to appear at the bottom of the form, then the focus is on the first field.

How can I have the focus set to the first field rather that the Save button?

I have tried to place p_web.Setvalue('SelectField',clip(loc:formname) & '.fieldname') in a couple of places without success.

Any thoughts would be appreciated
Ken Watts

34
Web Server - Ask For Help / Browse refresh not working on newer browsers
« on: August 11, 2022, 02:34:01 PM »
I have code in the "Server-side code" which deletes a record in the browse. I have the checkbox to refresh the whole browse after the server side code runs.

When I test this on a server 2012 using Chrome, it works fine. When I test it on an Android phone the browse does not refresh. Just not sure where I can figure out where the issue is at.

Thanks
Ken Watts
Wasatch Consulting Service

35
Web Server - Ask For Help / Re: Curl Command
« on: October 24, 2021, 07:43:04 AM »
I actually ran across another post which showed the code for sending to this API.

      net.SetAllHeadersDefault()
      net.SetContentType('form')
      net.SetValue('api_key','xxxxxxxx')
      net.SetValue('api_secret','xxxxxxxxxxxxxxxx')
      st.SetValue(clip(pText))
      st.ToUnicode(st:EncodeUtf8,st:CP_WINDOWS_1258)

      net.SetValue('text',st.GetValue())
      net.SetValue('from','18339143526')
      net.SetValue('to',pNummer)
      net.Post('https://rest.nexmo.com/sms/json')

This worked. Thanks for the assistance.
Ken Watts

36
Web Server - Ask For Help / Re: Curl Command
« on: October 22, 2021, 09:03:53 AM »
Thanks Bruce.

I tried the LIBCURL and it is working now using plain text. Seems like no matter the order in the JSON format, it kept saying I was missing the API key. Tried the plain text method using the libcurl library and it goes through. Not sure why they would not accept the JSON, it looked just fine. I actually copied your JSON code and it still rejected because it says the JSON was missing the API key.

Thanks for you help
Ken Watts

37
Web Server - Ask For Help / Re: Curl Command
« on: October 20, 2021, 06:04:25 AM »
Bruce,

Thanks for the response. I coded it this way but the API came back with "unparsable JSON", so it looks like they want the data send in JSON format.

Thanks
Ken Watts

38
Web Server - Ask For Help / Curl Command
« on: October 19, 2021, 10:48:25 AM »
I am trying to post a curl statement for sending SMS messages and I it is not going through. They give the example cUrl statement as below.

curl -X "POST" "https://rest.nexmo.com/sms/json" \
  -d "from=18339143526" \
  -d "text=A text message sent using the Vonage SMS API" \
  -d "to=18015575583" \
  -d "api_key=74ab237f" \
  -d "api_secret=s1n2GPpsWr0QBd2M"

If I place it in an onlline cURL testing it works, but how would I enter using NetTalk?

Thanks
Ken Watts

39
Web Server - Ask For Help / Re: Secwin and Second Factor
« on: August 25, 2021, 12:36:39 PM »
I will join the NetTalk one on Thursday. Thanks
Ken

40
Web Server - Ask For Help / Re: Secwin and Second Factor
« on: August 23, 2021, 08:11:22 AM »
Bruce,

Anymore thoughts on this. You indicated that you would send me in another direction if emails are set up and working (which they are).

Thanks
Ken Watts

41
Web Server - Ask For Help / Re: Secwin and Second Factor
« on: August 16, 2021, 06:15:20 AM »
There is a SendEmail procedure in the application and it works when sending the "forgot password" process.

Thanks
Ken Watts

42
Web Server - Ask For Help / Secwin and Second Factor
« on: August 15, 2021, 06:47:28 PM »
I was testing the Secwin 7 in NetTalk 12 with the second factor. I tested the example using the second factor with email. The login comes up asking for the code, but no email is getting sent. I placed a STOP in the procedure for sending the email and I am not getting a break. I am using the default Secwin login procedure. Any ideas as to what I can try?

Thanks
Ken Watts

43
Web Server - Ask For Help / Re: Sending Token
« on: August 12, 2021, 03:54:24 PM »
Thanks Bruce, that did the trick.

44
Web Server - Ask For Help / Sending Token
« on: August 11, 2021, 10:36:14 AM »
I am using NT12 and I have the following that works great when tested using a curl testing program. It is returning a JSON response.

curl -H "apikey: a123456c-07dd-4bec-974f-b9f7c217f4a6" https://api.aq360.com/project/08-10-2021

In NT I have:
ThisWebClient.ContentType = 'application/json'
ThisWebClient.Authorization = 'Token a123456c-07dd-4bec-974f-b9f7c217f4a6'
ThisWebClient.Get('https://api.aq360.com/project/08-10-2021',PostString)

The response I get back is "Invalid Api Key"
Any ideas of what to change?

Thanks
Ken Watts

45
Web Server - Ask For Help / SelectField not working
« on: September 17, 2020, 11:52:23 AM »
I have several field on a window. Once the user enters the first two fields (out of 5 total fields), the user can press a button to perform some code and then it clears the fields and then I would like the code to set focus to the first field again and ready for the user to enter text in the field again. The code runs just fine, but when I issue p_web.SetValue('SelectField',clip(loc:formname) & '.LOC:ItemNumber'), instead of setting focus to the first field, none of the fields have focus. I am placing this code in the "Add Late Server Side Code" at priority 5000 of the button being clicked.

Any help would be appreciated.
Thanks
Ken Watts

Pages: 1 2 [3] 4 5