File tree Expand file tree Collapse file tree 2 files changed +12
-16
lines changed Expand file tree Collapse file tree 2 files changed +12
-16
lines changed Original file line number Diff line number Diff line change @@ -209,24 +209,21 @@ curl -X POST https://api.pipedream.com/v1/connect/rate_limits \
209209# The response will include a rate limit token. Pass it as a header in your downstream requests to the Connect API.
210210# Below is an example request that runs the "List Commits" action for the Gitlab app.
211211
212- echo '{
213- "external_user_id": "jverce",
214- "id": "gitlab-list-commits",
215- "configured_props": {
216- "gitlab": {
217- "authProvisionId": "apn_kVh9AoD"
218- },
219- "projectId": 45672541,
220- "refName": "main"
221- }
222- }' > data.json
223-
224212curl -X POST "https://api.pipedream.com/v1/connect/{your_project_id}/actions/run" \
225213 -H "Authorization: Bearer {access_token}" \
226214 -H "Content-Type: application/json" \
227215 -H "x-pd-rate-limit: {rate_limit_token}" \ # Pass the rate limit token in the header
228- -d @data.json
229- '
216+ -d '{
217+ "external_user_id": "jverce",
218+ "id": "gitlab-list-commits",
219+ "configured_props": {
220+ "gitlab": {
221+ "authProvisionId": "apn_kVh9AoD"
222+ },
223+ "projectId": 45672541,
224+ "refName": "main"
225+ }
226+ }'
230227```
231228
232229## API Reference
You can’t perform that action at this time.
0 commit comments