I am using confluence server and trying to get SPACE details through the POSTMAN and Confluence REST API.
https://x01sdcifcnfl1a.uat.dbs.com:8443/dcifcnfl/rest/api/space/APTE
While I run on browser, I get details of the space
{"id":46301185,"key":"APTE","name":"ap30test","type":"global","_links":{"webui":"/display/APTE","collection":"/rest/api/space","base":"https://x01sdcifcnfl1a.uat.dbs.com:8443/dcifcnfl","context":"/dcifcnfl","self":"https://x01sdcifcnfl1a.uat.dbs.com:8443/dcifcnfl/rest/api/space/APTE"},"_expandable":{"metadata":"","icon":"","description":"","homepage":"/rest/api/content/45844347"}}But running from postman, following response:-
{
"statusCode": 404,
"data": {
"authorized": false,
"valid": true,
"allowedInReadOnlyMode": true,
"errors": [],
"successful": false
},
"message": "No space found with key : APTE",
"reason": "Not Found"
}
Not sure why it works in browser and not POSTMAN. Any solutions?