I want to return the custom response instead of da...
# general
k
I want to return the custom response instead of data in the response body But the data is used by some internal method after refreshing session How can I send the response as body instead of cookies
r
hey @krrishan
are you overriding the api or the function? For custom data sending, you should override the api
k
thanks Working fine
Kudos to your support team and quick replies 🔥
Getting this theft detected issue on second time I hit the api with same refresh token
r
yup. thats expected, Don't do it.. use a refresh token only once.
k
I have modified the code for refreshPost but the response body is still coming as {}
r
That’s not how you send a custom response. See our docs please.
k
is there any another api called after refreshPost ?
I am doing similar way for login which is working fine
checked working with that
2 Views