Dyalog / Jarvis

APL-based web service framework supporting JSON or REST
https://dyalog.github.io/Jarvis/
MIT License
33 stars 6 forks source link

No response from Server? #2

Closed arcfide closed 4 years ago

arcfide commented 4 years ago

I am getting no response when I run the Jarvis Demo:

      srv.CodeLocation←'..\Samples\JSON\'
      srv.Start
2020/02/12 @ 21:53:35 - Jarvis started in "JSON" mode on port 8080
2020/02/12 @ 21:53:35 - Serving code in #.CodeLocation (populated with code from "C:/Users/arcfi/OneDrive/Documents/Jarvis/
      Samples/JSON/")
2020/02/12 @ 21:53:35 - Click http://localhost:8080 to access web interface
0   
      ]load HTTPCommand
#.HttpCommand
      cmd←⎕NEW HttpCommand
      cmd.(Command URL)←'POST' 'localhost:8080/GetSign'
      cmd.Headers⍪←'content-type' 'application/json'
      cmd.Params←'[10,31]'
      q←cmd.Run
      q.rc
0
      q.Data

      q
[rc: 0 | msg: "" | HTTP Status: 200 "OK" | ⍴Data: 0]