News for hackers. Stuff that matters.
Re:Ask HN: Developers, how do you send an API bug report? by _thinx on Tuesday July 05, 2022 @11:30PM (#31996362)
Ah, I got some ideal here. So, you mean:

1/ We should have an API tracing system, hosted in a server for example, which capture all requests, including the params, headers, response. with some secure rule, e.g. hide Secret-Token header.

2/ Each request will have a header, its value is the request-id for example

3/ Whenever a bug come, we just need use request-id from 2/ and search the information in 1/

Right ?

Re:Ask HN: Developers, how do you send an API bug report? by oxff on Friday July 08, 2022 @06:05AM (#32025052)
I can't think of why not, besides the overhead with tracing .. but I already do tracing on my apps so I could do this very easily.
Re:Ask HN: Developers, how do you send an API bug report? by _thinx on Friday July 08, 2022 @06:27AM (#32025229)
I built several tracing systems, but none of them capturing & storing the API's response, cause too expensive, you know. Could you share more about your tracing system? I think we can learn from others.