ray1sx
TTCTheo's Typesafe Cult
•Created by ray1sx on 8/12/2023 in #questions
TypeScript complaining even the code is correct?
Oh I see. I could not figure it out and did not occur to me using the
has()
, get()
... I will try to solve this way. Thank you!6 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
In any case thank you for your effort and time!
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
I've done it and the server responds well. I will go back on everything we've discussed step by step and make sure the app itself os not modifying the url on the fly (which I made sure it didn't)
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
I appreciate it but there is no need... this exact code is working when doing get/post requests to facebook API
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
as I can see it is not something trivial I am missing on my code (it was what I was afraid of)
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
yes.. same url works on postman, fails on the code
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
but then again it works on postman
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
just not on the client url
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
The thing is the entire code works because when I post request to my other server it succeeds
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
I switched from try/catch to .then() thinking the same the other way around.
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
vercel / aws
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
It doesnt make sense, I just can't understand what is happening
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
Same error without headers:
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
I am fetching the log, one moment
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
Yes, it does
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
I mean, my tRPC procedure works for any url I try except the client API url
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
Yes, that is correct. The url itself it is not the issue, I tried hardcoding it to the code and it has the same problems.
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
After all the debugging and trial/error I did I just think the client has the issue on how he has configured that endpoint, but maybe I am missing something on my end that I just can't see. But logically if code works on any endpoint I try but not on the one the client has set up...
35 replies
TTCTheo's Typesafe Cult
•Created by ray1sx on 7/11/2023 in #questions
POST API endpoint only working if request made from POSTMAN
@stoykotlv
35 replies