Hi , I'm trying to implement supertoken request ca...
# support-questions-legacy
j
Hi , I'm trying to implement supertoken request call in ionic angular, For get api it is fine but for post , our backend server is returning 440 "try refresh token" Implementation on ionic app FE : `SuperTokensRequest.init({ refreshTokenUrl:
${baseUrl}/session/refresh
, sessionExpiredStatusCode: 440, viaInterceptor: false, });`
Copy code
await SuperTokensRequest.post(
      url,
      fetchConfig
    );
@rp_st Can I get help for this please
r
hey @jaydeep_65067 which versions of our sdk are you using?
ALso, you have given me too little info to help. So there is not much i can do
j
"supertokens-website": "^4.4.1",
What can provide you please tell me
r
what backend sdk and which version?
j
SuperTokens Core version: 2.5.2
r
i mean the backend sdk
not core
j
Its php laravel sdk
r
Not sure i can help at the moment. Too little info. I need to know: - the request headers, - response headers, the api domain configured, - anything you have tried on the backend to debug? - If you are doing viaInterceptor: false, then what are you doing instead?
j
I've attached files for request and response 4. viaInterceptor: false, I'm doing this because our app is on ionic, it will give a process error if I'm not setting it
@rp_st is this enough?
r
Not sure at the moment. Sorry. Will see if I have time to help sometime this week.
j
Ok thanks
19 Views