It’s hard when you hit an endpoint that hits another endpoint, because technically the first request IS a 200. No right or wrong way as long as they are consistent and document it clearly imo
- 0 Posts
- 3 Comments
Joined 2 years ago
Cake day: July 3rd, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
barrage4u@lemmy.worldto Programmer Humor@lemmy.ml•Ah, when we lose focus for a second and then we don't even known what our code was supposed to do47·2 years agoThis is why I write down the questions I’m trying to answer in a text doc, e.g:
Where is this network call comming from? …/some-api-call.js Why do you think it’s causing a 403?
- I am authenticating correctly
- the object seems to exist in s3
- the bucket name is wrong
Etc. So if I lose my thought (all the time), I know exactly what and why I was doing it. Also stops you from re-investigating things you forget
Can / should you use it for anything other than IPs?