I\'m trying to build a javascript client for my Thrift server. The server is up and running and I can get calls to the server working with a PHP client. I just can\'t figure out
The above answers have already given enough clarity.
However to make things a bit more clear, assuming that your server is localhost
and its running on port 8080
.
Let your project name be Tutorial_service
and endpoint in your server project be teach_thrift
then you have to pass URL as below
var transport = new Thrift.Transport("http://localhost:8080/Tutorial_service/teach_thrift");
It should keep you going.. :)