I’m testing out doing REST apis and have followed through the video tutorial and now I’m on my own.
I started a new web app project, and created App Event HandleUrl with the following very basic code and while testing it the test app just quits running with no errors, similar to me when I pressed “Stop”. The IDE is fine and responsive and I can hit Run again and it’ll repeat the running and then closing on its own.
[code] Select Case Request.Path
Case “search” // http://url.com/search
Request.Print(Request.Path+"
")
Request.Print(Request.QueryString)
Return True
End Select[/code]
I’m just connecting to it via http://localhost:8080/search?query=something&query2=something%20else and testing the different combination of QueryStrings and all of a sudden it stops accepting my get requests after about 9 requests/queries, around 30-40 seconds in. It doesn’t seem to stop when i submit no queries.
I haven’t seem a feedback case for this yet and search hasn’t returned anything so maybe its localized. Has anyone else come across this?
Mac OS X El Capitan
16GB RAM
plenty of HD space
Xojo 2015r3.1