File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ var DEFAULT_ENCODING = 'utf-8';
1717var DEFAULT_JSON_FORMAT = '\t' ;
1818
1919var options = {
20- hostname : 'api.betfair.com/exchange/betting ' ,
20+ hostname : 'api.betfair.com' ,
2121 port : 443 ,
22- path : '/json-rpc/v1' ,
22+ path : '/exchange/betting/ json-rpc/v1' ,
2323 method : 'POST' ,
2424 headers : {
2525 'X-Application' : appkey ,
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ function DemoApiNgClient(){
2222 function updateHeaders ( operationName ) {
2323 return {
2424 port : 443 ,
25- hostname : 'api.betfair.com/exchange/betting ' ,
26- path : '/rest/v1.0/' + operationName + '/' ,
25+ hostname : 'api.betfair.com' ,
26+ path : '/exchange/betting/ rest/v1.0/' + operationName + '/' ,
2727 method : 'POST' ,
2828 headers : {
2929 'X-Application' : appkey ,
You can’t perform that action at this time.
0 commit comments