Jump to content


Perforce Twilio Integration

continuous integration perforce twilio curl

  • Please log in to reply
No replies to this topic

#1 Gogen

Gogen

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 19 February 2020 - 12:41 AM

Hi,
I want to make connection between twilio and perforce.
Twilio is a cloud call center service. We have nodeJS codes and JSON codes on twilio. And we are using perforce for code repository but there is no connection between perforce and twilio.
The limitation of Twilio Studio Flow is that there can be only one developer working on a Studio flow at a time. And there is no continuous integration through the Twilio Console.
I want to push my codes from perforce to twilio.
Moreover, Twilio has rest api which allows you to use curl commands and update your flow(JSON code) from command line.
For example with the below codes you can fetch and update your studio flow:
With help curl command support can we establish a connection between twilio and perforce?

thanks


Update:
curl -X POST https://studio.twili...XXXXXXXXXXXXXXX \
--data-urlencode "CommitMessage=First update" \
--data-urlencode "Definition=$DEFINITION" \
--data-urlencode "Status=published" \
-u ACCOUNT_SID:TOKEN
Fetch: curl https://studio.twili...XXXXXXXXXXXXXXX -u ACCOUNT_SID:TOKEN





Also tagged with one or more of these keywords: continuous integration, perforce, twilio, curl

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users