When I try to use postman to call an api like this
curl -X GET \ https://server:port/v1/organizations/{orgName}/apis \ -H 'authorization: Basic aaksjdsak' \ -H 'cache-control: no-cache' \ -H 'content-type: application/x-www-form-urlencoded' \ -H 'postman-token: db6fd410-4a7e-91a2-a39e-7750e6a687fb'
It returns response as an html page with login details.
When I use the same url on a brower, It asks for the login page again and after entering the credentials, it returns the list.
I am trying to use the manaement apis to eventually deploy a proxy . But even the basic apis GET doesn't work.
https://community.apigee.com/questions/46294/error-while-using-maven-deploy-plugin-for-deployme.html
I raised this but it seems like both are stuck at the same place.
Solved! Go to Solution.
HI @krupal patel - Please change the Content-Type header to application/json
HI @krupal patel - Please change the Content-Type header to application/json
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |