Skip to content

Commit 016ef56

Browse files
committed
Fixed curl command
1 parent 91a5312 commit 016ef56

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

entrypoint.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh -l
22

3-
curl --location --request POST "https://api.elmah.io/v3/sourcemaps/$INPUT_LOGID?api_key=$INPUT_APIKEY" \
4-
--header 'Content-Type: multipart/form-data' \
5-
--form Path=$INPUT_PATH \
6-
--form SourceMap=$INPUT_SOURCEMAP \
7-
--form MinifiedJavaScript=$INPUT_MINIFIEDJAVASCRIPT
3+
curl -X POST \
4+
-F Path=$INPUT_PATH \
5+
-F SourceMap=@$INPUT_SOURCEMAP;type=application/json \
6+
-F MinifiedJavaScript=@$INPUT_MINIFIEDJAVASCRIPT;type=text/javascript \
7+
https://api.elmah.io/v3/sourcemaps/$INPUT_LOGID?api_key=$INPUT_APIKEY

0 commit comments

Comments
 (0)