Results of 1 - 3 of about 3 for callback (0.001 sec.)
- OpenAPI Callbacks 11924
- OpenAPI Callbacks Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You could create an API with a path operation that could trigger a request to an external API cre
...ame developer that would be using your API). The process that happens when your API app calls the external API is named a "callback". Because the software that the external developer wrote sends a request to your API and then your API calls back , sendin...ook like. What path operation it should have, what body it should expect, what response it should return, etc. An app with callbacks Let's see all this with an example. Imagine you develop an app that allows creating invoices. These invoices will have an...be done by sending a POST request (from your API ) to some external API provided by that external developer (this is the "callback"). The normal FastAPI app Let's first see how the normal API app would look like before adding the callback. It will have... - https://man.mtool.work/fastapi/0.115/advanced/openapi-callbacks/
- Configure Swagger UI 7999
- Configure Swagger UI Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You can configure some extra Swagger UI parameters . To configure them, pass the swagger_ui_pa
...ssed state wasn't returned from auth server." }); } if (qp.code) { delete oauth2.state; oauth2.auth.code = qp.code; oauth2.callback({auth: oauth2.auth, redirectUrl: redirectUrl}); } else { let oauthErrorMsg; if (qp.error) { oauthErrorMsg = "["+qp.error+"..."error", message: oauthErrorMsg || "[Authorization failed]: no accessCode received from the server." }); } } else { oauth2.callback({auth: oauth2.auth, token: qp, isValid: isValid, redirectUrl: redirectUrl}); } window.close(); } if (document.readyState !... - https://man.mtool.work/fastapi/0.115/how-to/configure-swagger-ui/
- Async Tests 7961
- Async Tests Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You have already seen how to test your FastAPI applications using the provided TestClient . Up to now,
...), remember to instantiate objects that need an event loop only within async functions, e.g. an '@app.on_event("startup") callback.... - https://man.mtool.work/fastapi/0.115/advanced/async-tests/
PREV
1
NEXT