- Log in to post comments
This is kinda related. Is there another term for httpRequest.httpVerb in Intersystems ObjectScript
- Log in to post comments
I set
Set httpRequest.Server = "127.0.0.1"
Set httpRequest.Port = "8080"
Request from OS Set status = httpRequest.Post("/collect_patient_information")
from the server side log
Response 127.0.0.1 - - [25/Feb/2024 10:44:58] "POST /collect_patient_information HTTP/1.1" 200 -
Status on ObjectScript on Response.
httpRequest: 127.0.0.1 application/json 2@%Library.GlobalBinaryStream status: 0 %«127.0.0.1:8080HSFNDý!e^zOpen+59^%Net.HttpRequest.1^2!e^zSend+30^%Net.HttpRequest.1^1 e^zPost+1^%Net.HttpRequest.1^1%e^zCollectInfo+20^OBHG.AIR.Main.1^1'e^zGetPatientInfo+2^OBHG.AIR.Main.1^1 e^zOnStart+3^OBHG.AIR.Main.1^1&d^zDebugStub+40^%Debugger.System.1^1d^^^0 statusline: reasonPhrase: StatusReasonPhrase: HTTP request failed with status code: Response:
Something is getting lost between Server Python and client OS
- Log in to post comments
I have it working. The important thing with flask are the routes which establish a connection between the client and the server. Config on both C and CS contain the same route names.