Is there any way for capturing cookies?

Questions and answers about Plum Fuse+

Moderators: admin, support

  • Author
  • Message
Offline

mushfek0001

  • Posts: 20
  • Joined: Wed Mar 14, 2018 1:31 am

Is there any way for capturing cookies?

PostThu Aug 30, 2018 3:34 am

Hi,

Does any of the modules allow making web requests with cookies?

Let me explain the scenario a bit so that you guys can suggest better. FYI, I'm well aware of REST conventions but we'll be integrating IVR system to one of our legacy APIs that's not stateless and uses cookies. I tried with passing the cookie with header but the problem in that case is I have to retrieve cookies returned from server in the response header Set-Cookie. Now, if I do module$.headers then it gives a JSON object and if there are multiple Set-Cookie headers then it just contains only a single one. I'm guessing others get overwritten as the object is being constructed. So is this a bug in your system or please let me know if there are any way around to this?

Thanks,
Offline

support

  • Posts: 3621
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: Is there any way for capturing cookies?

PostThu Aug 30, 2018 9:47 am

Hi,

Thank you for bringing this to our attention. We have tested and validated that we are seeing the same behaviors that you noted. We have escalated this issue to the Fuse+ dev team as a known bug. We do not currently have an ETA for when this will be fixed, however, we can provide you status updates as we get them from the team.

Regards,
Plum Support
Offline

mushfek0001

  • Posts: 20
  • Joined: Wed Mar 14, 2018 1:31 am

Re: Is there any way for capturing cookies?

PostFri Aug 31, 2018 3:24 am

No problem. I really appreciate you guys being prompt. Btw you didn't answer my original question though.

Does any of the modules allow making web requests with cookies?


Should I take that as a no?
Offline

support

  • Posts: 3621
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: Is there any way for capturing cookies?

PostFri Aug 31, 2018 9:27 am

Hi,

Sorry about that, the answer to the question is a yes. To expand, you were correct when you were attempting to pass the cookies within the REST module's headers. As you discovered, Fuse+ isn't properly handling the inbound cookies, however, any information you set within the headers should be sent back properly.

Regards,
Plum Support
Offline

mushfek0001

  • Posts: 20
  • Joined: Wed Mar 14, 2018 1:31 am

Re: Is there any way for capturing cookies?

PostSat Sep 01, 2018 1:20 am

It's alright. Thanks for clearing it up.
Offline

almubinsultan

  • Posts: 2
  • Joined: Mon Mar 05, 2018 11:26 am

Re: Is there any way for capturing cookies?

PostSat Sep 01, 2018 4:28 am

Hi,

As we are going through the implementation we need to know the ETA for this. As without this our system cant integrate. Can you please talk with team and let us know an ETA?
Offline

support

  • Posts: 3621
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: Is there any way for capturing cookies?

PostThu Sep 06, 2018 9:10 am

Hi,

Our current ETA for this patch is late next week. We hope to get it ready sooner, and we will let you know when it is deployed.

Regards,
Plum Support
Offline

support

  • Posts: 3621
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: Is there any way for capturing cookies?

PostMon Sep 10, 2018 9:58 am

Hi,

A patch has been deployed to Fuse+ which adds an additional shadow variable to the REST module, the $.raw_headers. This will allow for 0-indexed array access to the raw header strings. The original $.headers shadow variable object is still available for backwards comparability.

Regards,
Plum Support
Offline

mushfek0001

  • Posts: 20
  • Joined: Wed Mar 14, 2018 1:31 am

Re: Is there any way for capturing cookies?

PostThu Sep 20, 2018 1:39 am

A patch has been deployed to Fuse+ which adds an additional shadow variable to the REST module, the $.raw_headers. This will allow for 0-indexed array access to the raw header strings.

That was of great help! Thanks again for fast response.
Offline

almubinsultan

  • Posts: 2
  • Joined: Mon Mar 05, 2018 11:26 am

Re: Is there any way for capturing cookies?

PostSun Jan 13, 2019 8:04 am

Dear concern,

Over this weekend we were moved to PCI environment and after that we have hit the bug again. Can we please have an ETA for the fix in PCI environment?
Offline

support

  • Posts: 3621
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: Is there any way for capturing cookies?

PostMon Jan 14, 2019 9:33 am

Hi,

An additional patch has been deployed for PCI environment. Please let us know if you need any further assistance.

Regards,
Plum Support

Return to Plum Fuse+ Q&A

Who is online

Users browsing this forum: No registered users and 1 guest

cron