Skip to content

Commit cb1ebee

Browse files
authored
Update README.md
1 parent b616bad commit cb1ebee

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
## Using curl
2424

2525
```bash
26-
curl --location 'http://localhost:9000/2015-03-31/functions/function/invocations' --header 'Content-Type: application/json' --data '{ "userId":"c82da7d4-3295-4c4a-921b-7000d65224b6", "markdown":"hi from local", "moduleSlug":"test_slug", "setNumber":1}'
26+
curl --location 'http://localhost:9000/2015-03-31/functions/function/invocations' --header 'Content-Type: application/json' --data '{ "userId":"c82da7d4-3295-4c4a-921b-7000d65224b6", "fileName": "my_set_pdf", "typeOfFile":"PDF", "markdown":"hi from local"}'
2727
```
2828

2929
## From postman
@@ -35,15 +35,23 @@ http://localhost:9000/2015-03-31/functions/function/invocations
3535

3636
body:
3737
```json
38-
{
39-
"userId":"c82da7d4-3295-4c4a-921b-7000d65224b6",
40-
"markdown":"hi from postman staging",
41-
"moduleSlug":"test_slug",
42-
"setNumber":1
43-
}
38+
[
39+
{
40+
"userId":"c82da7d4-3295-4c4a-921b-7000d65224b6",
41+
"fileName": "pokus_pdf",
42+
"typeOfFile":"PDF",
43+
"markdown":"hi from postman staging pdf"
44+
},
45+
{
46+
"userId":"c82da7d4-3295-4c4a-921b-7000d65224b6",
47+
"fileName": "pokus_tex",
48+
"typeOfFile":"TEX",
49+
"markdown":"hi from postman staging tex"
50+
}
51+
]
4452
```
4553

4654

4755
## More information
4856

49-
https://github.com/lambda-feedback/technical-documentation/blob/main/docs/pdf_generator/index.md
57+
https://github.com/lambda-feedback/technical-documentation/blob/main/docs/pdf_generator/index.md

0 commit comments

Comments
 (0)