File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
Tests/FunctionsTests/__Snapshots__/RequestTests Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11curl \
22 --request POST \
33 --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 " \
66 --data "{\"name\":\"Supabase\"}" \
77 "http://localhost:5432/functions/v1/hello-world"
Original file line number Diff line number Diff line change 11curl \
22 --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 " \
55 --header "x-custom-key: custom value" \
66 "http://localhost:5432/functions/v1/hello-world"
Original file line number Diff line number Diff line change 11curl \
22 --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 " \
55 "http://localhost:5432/functions/v1/hello-world"
Original file line number Diff line number Diff line change 11curl \
22 --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 " \
55 --header "x-region: ap-northeast-1" \
66 "http://localhost:5432/functions/v1/hello-world"
Original file line number Diff line number Diff line change 11curl \
22 --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 " \
55 "http://localhost:5432/functions/v1/hello-world"
You can’t perform that action at this time.
0 commit comments