These are chat archives for canjs/canjs

14th
Oct 2017
pavankmv
@pavankmv
Oct 14 2017 09:23
Hi,
Using can-connect getData method, is there any way to pass a parameter in the URL, instead of query parameters?
Frank Lemanschik
@frank-dspeed
Oct 14 2017 12:44
?
what do you mean more exactly
pavankmv
@pavankmv
Oct 14 2017 13:01

Request is something like GET /webservices/internal/filevalidation/path/gallery:myFolder:mySubFolder

I'm supposed to pass folder path in URL not as a query parameter. Here, the service returns empty if the validation is success. One more issue what I'm facing is, when the response is empty (200 success) the promise is going to deffered state as it failed to parse an empty JSON response.

Frank Lemanschik
@frank-dspeed
Oct 14 2017 13:43
uhh sorry this sounds all like application logic issues
i don't understand your case exactly so i can't help sorry