File tree 5 files changed +10
-10
lines changed
Tests/FunctionsTests/__Snapshots__/RequestTests
5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
curl \
2
2
--request POST \
3
3
--header "Content-Type: application/json" \
4
- --header "apikey: supabase.anon.key " \
5
- --header "x-client-info: functions-swift/x.y.z " \
4
+ --header "X-Client-Info: functions-swift/x.y.z " \
5
+ --header "apiKey: supabase.anon.key " \
6
6
--data "{\"name\":\"Supabase\"}" \
7
7
"http://localhost:5432/functions/v1/hello-world"
Original file line number Diff line number Diff line change 1
1
curl \
2
2
--request POST \
3
- --header "apikey: supabase.anon.key " \
4
- --header "x-client-info: functions-swift/x.y.z " \
3
+ --header "X-Client-Info: functions-swift/x.y.z " \
4
+ --header "apiKey: supabase.anon.key " \
5
5
--header "x-custom-key: custom value" \
6
6
"http://localhost:5432/functions/v1/hello-world"
Original file line number Diff line number Diff line change 1
1
curl \
2
2
--request PATCH \
3
- --header "apikey: supabase.anon.key " \
4
- --header "x-client-info: functions-swift/x.y.z " \
3
+ --header "X-Client-Info: functions-swift/x.y.z " \
4
+ --header "apiKey: supabase.anon.key " \
5
5
"http://localhost:5432/functions/v1/hello-world"
Original file line number Diff line number Diff line change 1
1
curl \
2
2
--request POST \
3
- --header "apikey: supabase.anon.key " \
4
- --header "x-client-info: functions-swift/x.y.z " \
3
+ --header "X-Client-Info: functions-swift/x.y.z " \
4
+ --header "apiKey: supabase.anon.key " \
5
5
--header "x-region: ap-northeast-1" \
6
6
"http://localhost:5432/functions/v1/hello-world"
Original file line number Diff line number Diff line change 1
1
curl \
2
2
--request POST \
3
- --header "apikey: supabase.anon.key " \
4
- --header "x-client-info: functions-swift/x.y.z " \
3
+ --header "X-Client-Info: functions-swift/x.y.z " \
4
+ --header "apiKey: supabase.anon.key " \
5
5
"http://localhost:5432/functions/v1/hello-world"
You can’t perform that action at this time.
0 commit comments