1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hi - have you tried using the generated SDK for Android for your API? You generate that by going to the API Gateway console, go to your API, go to the stage you want to generate for (probably "Prod"), then the "SDK Generation" tab. You can choose Android as the platform.
The SDK will have generated classes for you to talk to your API (including if your API is set to use AWS_IAM for authorization), and the readme.md file will have samples.
Like so:
ApiClientFactory factory = new ApiClientFactory();
// create a client
final WebApiChallengeClient client = factory.build(WebApiChallengeClient.class);
Or, are you saying you are already using that generated SDK for your API, and still not working?
répondu il y a 5 ans
Contenus pertinents
- Réponse acceptéedemandé il y a 2 ans
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans