I want @microlink/mql to expose an async fetchFromApi(apiUrl: string, opts?: object): Promise<object …
I want @microlink/mql to expose an async fetchFromApi(apiUrl: string, opts?: object): Promise<object …: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). When I call await fetchFromApi('http://localhost:3000/?url=https%3A%2F%2Fexample.com', { responseType: 'json'…
The task
When I call `await fetchFromApi('http://localhost:3000/?url=https%3A%2F%2Fexample.com', { responseType: 'json', retry: 0 })` and the server returns HTTP 200 with JSON `{"status":"success","data":{"title":"Example"}}`, it should resolve to the parsed payload with a `response` property containing the final response…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.