[ardoHTTP] ardoHTTP HTTPPost menthod Data

[ardoHTTP] ardoHTTP HTTPPost menthod Data

  
Forge Component
(15)
Published on 2015-06-04 by Ricardo Silva
15 votes
Published on 2015-06-04 by Ricardo Silva

Dears ,

In our mobile app we are trying to use ardoHTTP plugins HTTPPOST method in which for Data input parameter we have to send multiple data contents like below .

grant_type=authorization_code
code=123456
realm=/xyz

But it seems data input parameter accepting only one parameter ,how can we achieve this . Kindly help us .

As of now i tried below format which got failed 

"grant_type=authorization_code&code=123456&realm=/xyz"

Thanks and Regards

Rajashekar Reddy Ette


Hello Rajashekar,

what was the error you got? Did you set the content-type header to application/x-www-form-urlencoded ?

In any case, you can use the platform's REST capabilities for this and then have proper logging of the request being made to troubleshoot.

I believe it's better if you go that way :)


Best regards,

Ricardo Silva

Dear Ricardo Silva ,

Below is the error am getting while sending multiple parameters  .content-type header is set  to application/x-www-form-urlencoded.

Below are the  parameters "grant_type=authorization_code&redirect_uri=ae.gov.adm://msServices_ADM/smartpass&code=123456&realm=/xyz"

if you make a sample oml for this case and send me over that would be great help for us.


Thanks and Regards

Rajashekar Reddy Ette