I have to use the Cognito API (not coding in a language with an SDK). I was using Fiddler to just test out a recently created User Pool and user sign up, but I keep getting:
HTTP/1.1 400 Bad Request x-amzn-ErrorType: UnknownOperationException.
Can someone point me in the right direction?
I feel like my URL could be wrong and/or the User Pool ID needs to be included somewhere.
POST https://cognito-idp.us-west-2.amazonaws.com/ HTTP/1.1
CONTENT-TYPE: application/x-amz-json-1.1
X-AMZ-TARGET: com.amazonaws.cognito.identity.idp.model.AWSCognitoIdentityProviderService.Signup
HOST: cognito-idp.us-west-2.amazonaws.com
{
"ClientId": "##################", //App client id. The app associated with the User Pool
"Password": "98765432", //min length 8, requires numbers...JUST FOR TESTING
"UserAttributes": [ //email and name are the only attributes for this pool...JUST FOR TESTING
{
"email": "###########", //an email address
"name": "Joe" //user's name
}
],
"Username": "testName987" //the user name
}
It appears some people have gotten through this basic step, as shown here and here, but I'm struggling with this first step.
TIA