Skip to content

Commit 506ac37

Browse files
adding port number to addpy sample
1 parent 66bbc4d commit 506ac37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • samples/features/sql-big-data-cluster/app-deploy/addpy

samples/features/sql-big-data-cluster/app-deploy/addpy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ To run this sample, you need the following prerequisites.
116116

117117
> *Optional*: If you want, you can open the URL for the `swagger` that was returned when you ran `mssqlctl app describe --name addpy --version [version]` in your browser. You will have to log in with the same credentials you used for `mssqlctl login`. The contents of the `swagger.json` you can paste into [Swagger Editor](https://editor.swagger.io). You will see that the web service exposes the `run` method.
118118

119-
You can use your favorite tool to call the `run` method (`https://[IP]:[PORT]/api/app/addpy/[version]/run`), passing in the parameters in the body of your POST request as json. In this example we will use [Postman](https://www.getpostman.com/). Before making the call, you will need to set the `Authorization` to `Bearer Token` and paste in the token you retrieved earlier. This will set a header on your request. See the screenshot below.
119+
You can use your favorite tool to call the `run` method (`https://[IP]:30778/api/app/addpy/[version]/run`), passing in the parameters in the body of your POST request as json. In this example we will use [Postman](https://www.getpostman.com/). Before making the call, you will need to set the `Authorization` to `Bearer Token` and paste in the token you retrieved earlier. This will set a header on your request. See the screenshot below.
120120
![Postman Run Headers](postman_run_1.png)
121121
Next, in the requests body, pass in the parameters to the app you are calling and set the `content-type` to `application/json`:
122122
![Postman Run Body](postman_run_2.png)

0 commit comments

Comments
 (0)