Poll David
Posts: 0
Joined: Sat Jan 24, 2015 5:22 am

REST Service Parameter (Dynamic Url) make request parameter NOT MANDATORY/REQUIRED

https://maps.googleapis.com/maps/api/...

I have here a Google Place NearbySearch url in my REST Service

I am trying to input the NAME request parameter as blank but I am getting this error..

Image

but when you try the request on browser,

https://maps.googleapis.com/maps/api/...

It's working fine even though the value of name is blank. Please help

the NAME can be blank. But the rest service requires a value.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

REST Service Parameter (Dynamic Url) make request parameter NOT MANDATORY/REQUIRED

Hi Poll,

It seems you use {keyw} in the URL.

If so you will have such error in the service test.

But you will not have this error in real app.

Please test in the app.

Regards.

Poll David
Posts: 0
Joined: Sat Jan 24, 2015 5:22 am

REST Service Parameter (Dynamic Url) make request parameter NOT MANDATORY/REQUIRED

I am testing the app on browser and I am getting this error..

Image

and upon clicking the failed to load resource error, i have this

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

it seems that if we use {} on parameter, it should always be filled

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

REST Service Parameter (Dynamic Url) make request parameter NOT MANDATORY/REQUIRED

Hi Poll,

Please give us your app public link and describe steps to reproduce this problem.

Thanks.

Poll David
Posts: 0
Joined: Sat Jan 24, 2015 5:22 am

REST Service Parameter (Dynamic Url) make request parameter NOT MANDATORY/REQUIRED

Hi Yurii, can I have a separate question? It's quite urgent

it's from here.

https://getsatisfaction.com/apperyio/...

I have 2 localstorage variables named establishment_arr and result_arr (they are both array i think that has JSON content.)

"I have a database collection named ESTABLISHMENTS. inside it are the columns

place_id
visits
lat
lng
vicinity
type

i already parsed this content collection into the establishment_arr. i need to match the place_id values inside the establishment_arr if they have a match on the result_arr JSON.

rephrase:

I just need to lookup or search inside the parsed JSON if any PLACE_ID value from the collection exist inside the JSON string.

if place_id exist in the JSON string, i will place the lat lng of that place_id on the map

hope it makes sense. I really need help"

hope you can help.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

REST Service Parameter (Dynamic Url) make request parameter NOT MANDATORY/REQUIRED

Hello Poll,

Please find Yurii's reply there.

Return to “Issues”