Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3953

Strange HandleURL issue

$
0
0

Hi all,
I’ve been developing server side apps deployed to XojoCloud for some time but I’ve just come across a strange issue.

I have a very simple app that works on a local network between a desktop app and a web app.

When I deploy to XojoCloud, I’m seeing a request 200 status being returned to the desktop app, but there are issues displaying my data on the web app.

Basically I have a simple endpoint setup in HandleURL:

#Pragma BackgroundTasks False


select case request.Path
case "POCSAG_Input"
  LatestData = request.Body
  response.Write "Data received"
  response.Status = 200// Created
  return true
end select

On my main webpage I have a timer with a period of 200ms running this:

if app.LatestData <> "" then
  ListBox1.AddRowAt(0,app.LatestData)
  app.LatestData = ""
end if

Works fine and populates my listbox on the local network but doesn’t display anything when deployed on XojoCloud.

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3953

Trending Articles