Micro Gateway: Unable to do POST API calls to verify the token for edge aware proxy with OAuth2 access token

I am using Windows OS to configure the edge micro gateway for Private APIGEE cloud.

Steps followed for Secure API call with Oauth2 access:

1. Generated the key and secret using the below command:

edgemicro private configure -o uw-e dev -u test@test.com -p Apigee@dmin -r http://uw.dev.com:9005 -m http://10.1.***.**:8080 -v default

2. Created a edge-aware proxy with Authorization OAuth 2.0.

3. Created Product and added the edge-aware proxy and edgemicro-auth.

4. Started the Edge Micro successfully using the key and secret.

5. Generated the bearer token using edgemicro-auth api with grant_type = client_credentials and the user name and password same as in the Developer App.

Using the bearer token to call the edge aware proxy API, able to get the response for all GET calls,

but unable to get the response for POST or PUT call.

Please help me to resolve the above issue.

Attaching screen shot for more details.

0 3 177
3 REPLIES 3

What error you are getting ?

Added image for GET API call and POST API call including edgemicro environment set up.

For POST API call its going to back end and getting response but in edge micro side its showing Bad Gateway.

@Faij Ahmad Updated the image.

@srinandans

edgeconfiguration.pngedgeapicall.png

Can anyone help to resolve the issue.