beta
Hello developer. Login with your existing account. New to Vodafone Developer? Register your account.

+ Login or create an account

0

Hello

I'm developing a widget and using an external website (which I do not admin).

Unfortunately, this website requires the browser to send a particular cookie to execute some operations. As the widget runtime seems (?) to not support it, the service fails to run (error 500 - internal server error). I'm sure that the problem is caused by the lack of cookies as I can reproduce the problem using a normal browser if I delete the cookies and do the same request.

I tried to look up in the headers of the request but it contained no "Set-Cookie" lines. I tried to do a GET request to google and it also got no "Set-Cookies" so I assume this problem is a "feature" of the widget runtime.

Is there anyway to receive cookies using this runtime? I don't mind going dirty and using functions like "getAllResponseHeaders()" from ajax calls or something...

I hope you can help me
Thank you

Pedro

2 Answers:

0
Hello! No, I didn't find any solution. I solved the issue by using cURL on my server and querying my server instead. For my particular situation it worked out, but you may have other needs! Good luck
0
I have the same issue, a link to a solution or a definitive answer would be great

Login and answer the question