Page 1 of 2

call service php

Posted: Mon May 26, 2014 3:16 pm
by laura6372139

Hi:

I call service and this service is the "test" succesful.

But when I debug firefox I get this message:

{"code":"PTCT010","description":"Mandatory parameter 'appery-rest' is missing"}

Image Image Image

Why?

Thanks


call service php

Posted: Mon May 26, 2014 3:48 pm
by Evgene Karachevtsev

Hello Laura,

Could you please send the complete request to the server from tab network, so all the passed parameters could be seen


call service php

Posted: Mon May 26, 2014 4:03 pm
by laura6372139

Image

If you need the url I can send it by mail


call service php

Posted: Mon May 26, 2014 7:38 pm
by Evgene Karachevtsev

Laura,

This topic should help you: https://getsatisfaction.com/apperyio/...


call service php

Posted: Tue May 27, 2014 9:06 am
by laura6372139

Hi:

I call server proxy manually:

To send request "manualy" through the proxy you should:

2.1 specify "appery-key" parameter as header.

2.2 specity "appery-proxy-url" parameter as header.

2.3 specify "appery-rest" parameter as header.

2.4 send request to https://api.appery.io/rest/1/proxy/tu...

but I get the same result.

{"code":"PTCT010","description":"Mandatory parameter 'appery-rest' is missing"}

Image

Image Image

Image


call service php

Posted: Tue May 27, 2014 12:40 pm
by Kateryna Grynko

Dear Laura,

Let's check step by step:

1) Create a service with the following parameters: Image
2) And these request parameters: Image
3) Run Test preview, should be working (code 200 is expected), check service response.


call service php

Posted: Tue May 27, 2014 2:06 pm
by laura6372139

Hi Katya:

I follow your steps:

Image รง

2) And these request parameters:

https://d2r1vs3d9006ap.cloudfront.net...

Image

When I click in:

https://api.appery.io/rest/1/proxy/tu...

I get:

{"code":"PTCT010","description":"Mandatory parameter 'appery-rest' is missing"}

any idea???


call service php

Posted: Tue May 27, 2014 5:34 pm
by Evgene Karachevtsev

Hello Laura,

Could you please clarify why do you want call server proxy manually?
You can send us settings for you external service and we will test it in appery.io.


call service php

Posted: Wed May 28, 2014 3:09 pm
by laura6372139

Hi Evgene:

I call this service:

http://84.120.108.175:14380/control_c...

with this parameters:

https://d2r1vs3d9006ap.cloudfront.net...

I use in my server appery proxy.

But when I test in appery is "succesful"

And I need when the server reads "LOGUEADO" and then appery navigate to "cambiopromociones"

But It doesn't work.

I try in Restservice in "Succes", navigate to other page, but it doesn't work.

Do you understand me?

Thanks.


call service php

Posted: Wed May 28, 2014 3:58 pm
by Evgene Karachevtsev

Hello Laura,

You should use restful service in appery.io. But
http://84.120.108.175:14380/control_c... is only login page. And you can't use it