Page 1 of 1
I to create a Rest service with -u parameter in request
Posted: Mon Oct 07, 2013 10:12 am
by Asif
Hi
I have a Rest API of Twilio for sending sms. I am creating a Rest Service to invoke this API. Given below is the curl command :
curl -X POST 'https://api.twilio.com/2010-04-01/Acc...' \
-d 'From=%2B1------' \
-u AC723e7b9b8dd937cab7f249550ae73f71:{AuthToken}
Pls tell me how will i add '-u; parameter in my service.
I to create a Rest service with -u parameter in request
Posted: Mon Oct 07, 2013 12:05 pm
by Maryna Brodina
I to create a Rest service with -u parameter in request
Posted: Mon Oct 07, 2013 12:37 pm
by Maryna Brodina
Please try with Authorization parameter, this post should help https://getsatisfaction.com/apperyio/...
I to create a Rest service with -u parameter in request
Posted: Thu Oct 10, 2013 6:54 am
by Asif
Hi Maryna
I have tried Authorization parameter but still I m getting Unauthorized error.
But when i m trying it independently form curl editor it is working fine.
I to create a Rest service with -u parameter in request
Posted: Thu Oct 10, 2013 8:08 am
by Maryna Brodina
Hello! Could you please post screenshots from Service Settings and Request parameters tab?
I to create a Rest service with -u parameter in request
Posted: Thu Oct 10, 2013 8:39 am
by Asif
Hi i have added images of both settings and request param tabs
pls have a look
I to create a Rest service with -u parameter in request
Posted: Thu Oct 10, 2013 8:43 am
by Asif
Hi
I just removed Appery.io.Proxy and now it is working fine
I to create a Rest service with -u parameter in request
Posted: Thu Oct 10, 2013 8:57 am
by Maryna Brodina
Ok, glad it's working! Thank you for update!