Skip to content

Instantly share code, notes, and snippets.

@himanshu-dixit
Created April 25, 2024 11:30
Show Gist options
  • Save himanshu-dixit/99ab0f1c6c9d9bbe3e088998679c5c4f to your computer and use it in GitHub Desktop.
Save himanshu-dixit/99ab0f1c6c9d9bbe3e088998679c5c4f to your computer and use it in GitHub Desktop.
add custom repo
curl --location 'http://localhost:9900/api/v1/apps/custom-repo/add-repo' \
--header 'Accept: application/json, text/plain, */*' \
--header 'Accept-Language: en-US,en;q=0.9' \
--header 'Connection: keep-alive' \
--header 'Content-Type: application/json' \
--header 'Cookie: intercom-id-dvp1uc7s=1e796232-b436-49c6-9434-b0ee22fa36c5; intercom-device-id-dvp1uc7s=c9b940ec-deae-42c3-bd27-e66e9045114f; composio_email=hudixt+001@gmail.com; isLoggedIn=true; authToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2N2NmNzdmNC1lNjY2LTRhM2QtYTQ1Ny1hMzAzNTlkNzBjODQiLCJlbWFpbCI6Imh1ZGl4dCswMDFAZ21haWwuY29tIiwiaWF0IjoxNzE0MDMxMzA5LCJleHAiOjE3MTY2MjMzMDl9.LdEk_aKAHRayJ32mR41gYZL4AGl6M2uaNO_nuufJyg4; intercom-session-dvp1uc7s=UG5nNUJHSjhseWRmUnhzY3RIaXJVVDI2V1k1SzJqenMxeHJjQ2VjUmNRTHRXRTdISHp2cDBvN2ZXQ3lDaWtTaS0tZy94dFBUWHExRkFxOVpYelo2UFY4Zz09--4ecb12f9adbe7c21f93240bd17b0f1ed29624429; ph_phc_Gz8DBv1ZMbOwt3hE8sJZwKGsDl5FtMSkvBNSR0HC07c_posthog=%7B%22distinct_id%22%3A%22hudixt%2B001%40gmail.com%22%2C%22%24sesid%22%3A%5B1714044215908%2C%22018f14fc-b5fa-7a0d-951a-ec3c82be4b34%22%2C1714044057081%5D%7D; authToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJlZWVlNGEyYS01NzhjLTRlNGYtOWM4Ni1jYTQ5NWJlZjY1MjAiLCJlbWFpbCI6Imh1ZGl4dCswMUBnbWFpbC5jb20iLCJpYXQiOjE3MTIyNTQ3ODAsImV4cCI6MTcxNDg0Njc4MH0.Wjsi_er1q1I4fOTGyJ7Yl54ViBgaW3WIdikHoESsELo' \
--header 'DNT: 1' \
--header 'Origin: http://localhost:3000' \
--header 'Referer: http://localhost:3000/' \
--header 'Sec-Fetch-Dest: empty' \
--header 'Sec-Fetch-Mode: cors' \
--header 'Sec-Fetch-Site: same-site' \
--header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' \
--header 'sec-ch-ua: "Chromium";v="123", "Not:A-Brand";v="8"' \
--header 'sec-ch-ua-mobile: ?0' \
--header 'sec-ch-ua-platform: "macOS"' \
--data-raw '{"repoUrl":"https://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@github.com/SamparkAI/new-custom-integrations"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment