I’ve been using a request template to make API call to a third-party service. The implementation seems to have worked without any issues for a while.
But recently the API response changed with updated details. The request method is still fetching the old request and not bringing in the updated response in the front-end application.
I invoked the template by disabling the cache as well but it doesn’t seem to work. Please refer to my code below. Request Template
Is this happening in production or local testing using FDK? It sounds like a caching issue because everything else looks alright. If it is local testing, can you try removing the local .fdk/ directory, setting up iparams again, and then testing it?
If it is production, I wonder if it might be due to browser cache.
Actually, the application was already built using fdk version 8. Now after the planned upgrade to version 9 i’m facing this issue. I installed both the application and the older one is returning the correct response i had it verified with postman request as well.
Is there any way to debug this?
Thanks for your reply.
I tried setting the cache as false as well. But didn’t seem to have worked for me. Is the cache in the request method set to true by default?
So I took the query to the client side and that seem to have worked for me.