Page 1 of 1

Passing Request Parameters in Builder

Posted: Mon Jul 15, 2013 7:16 am
by mikeflores2000

What syntax should be in the appery.io builder input fields for this ?
For example I have oauth_consumer_key defined with Header checkbox through oauth_version

How can I tell builder --header 'Authorization: OAuth ?
--header 'Authorization: OAuth oauth_consumer_key="--------", oauth_nonce="--------", oauth_signature'"------",oauth_signature="------", oauth_signature_method="------", oauth_timestamp="1373870807", oauth_token="------", oauth_version="1.0"' --verbose

THIS WORKS IN TERMINAL:
curl --get 'https://api.twitter.com/1.1/search/tw...' --data 'q=%22Technical+Project+Manager%22%2Cgeocode%3D-122.023771%2C37.376407%2C20mi' --header 'Authorization: OAuth oauth_consumer_key="--------", oauth_nonce="--------", oauth_signature="--------", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1373870807", oauth_token="--------", oauth_version="1.0"' --verbose


Passing Request Parameters in Builder

Posted: Mon Jul 15, 2013 8:37 am
by Maryna Brodina

Hello! Create parameters you need and check "Header"
Image


Passing Request Parameters in Builder

Posted: Mon Jul 15, 2013 10:13 am
by mikeflores2000

Was already done before but
How can I tell builder --header 'Authorization: OAuth ?

Image Image


Passing Request Parameters in Builder

Posted: Mon Jul 15, 2013 10:54 am
by Maryna Brodina

You would need to use JS to do that. This tutorial should help http://docs.appery.io/tutorials/build...


Passing Request Parameters in Builder

Posted: Mon Jul 15, 2013 2:55 pm
by mikeflores2000

Thank you Marina.