File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ curl --location 'https://<apig_id>.execute-api.eu-west-2.amazonaws.com/main/v1/t
3333Will update a template
3434
3535``` bash
36- curl --location ' https://<apig_id>.execute-api.eu-west-2.amazonaws.com/main/v1/template/<string>' \
36+ curl -X POST - -location ' https://<apig_id>.execute-api.eu-west-2.amazonaws.com/main/v1/template/<string>' \
3737--header ' Content-Type: application/json' \
3838--header ' Accept: application/json' \
3939--header ' Authorization: ••••••' \
@@ -61,7 +61,7 @@ curl --location 'https://<apig_id>.execute-api.eu-west-2.amazonaws.com/main/v1/t
6161Will create a single template.
6262
6363``` bash
64- curl --location ' https://<apig_id>.execute-api.eu-west-2.amazonaws.com/main/v1/template' \
64+ curl -X POST - -location ' https://<apig_id>.execute-api.eu-west-2.amazonaws.com/main/v1/template' \
6565--header ' Content-Type: application/json' \
6666--header ' Accept: application/json' \
6767--header ' Authorization: ••••••' \
@@ -78,7 +78,7 @@ curl --location 'https://<apig_id>.execute-api.eu-west-2.amazonaws.com/main/v1/t
7878Will create a single letter template. The CSV form part is optional. Do not set a content type header as this must be auto-generated by curl, so that it includes a form-data boundary.
7979
8080``` bash
81- curl --location ' https://<apig_id>.execute-api.eu-west-2.amazonaws.com/<env>/v1/letter-template' \
81+ curl -X POST - -location ' https://<apig_id>.execute-api.eu-west-2.amazonaws.com/<env>/v1/letter-template' \
8282--header ' Accept: application/json' \
8383--header ' Authorization: ••••••' \
8484--form ' letterPdf=@<path_to_pdf>;type=application/pdf;filename=<string>' \
You can’t perform that action at this time.
0 commit comments