3 Replies Latest reply on Dec 15, 2016 12:07 AM by sylvaing89241878

    Using expect script with REST API

    sylvaing89241878 Level 1


      I'm currently using an expect script to send my password automaticaly when I want to get my application file. The usual way would have been like that :

      curl -Lu [MY EMAIL] https://build.phonegap.com/api/v1/apps/[MY APP ID]/android > [MY APP NAME].ipa


      But since I'm using the expect script, when redirecting my file stream, I get differences between the obtained file and the file I get manually.

      Is there a way to avoid having to send my password each time I use the REST API? Or is there a way to get a correct file anyway?


      Thank you for your answer =)