cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with custom extension

Former Member
0 Kudos
196

I have created an custom extension say 'abc' which is of type ycommercewebservices and overrides ycommercewebservices, then I have created an endpoint say /def, now I am trying to access this endpoint through postman 'https://localhost:9002/def/' , but I am getting 403 forbidden response,what changes should I do to make it accessible?

Accepted Solutions (0)

Answers (2)

Answers (2)

mpern
Advisor
Advisor
0 Kudos

If you have generated your extension with ycommercewebservices, then your endpoint should be https://localhost:9002/rest/def

FYI, if you only need to build plain REST Service (without all the controllers etc that ycommercewebservices already has built in), I would recommend that you use the ywebservices template, as it is much leaner and easier to use.

Former Member
0 Kudos

Hi, probably https://localhost:9002/abc/def/ ? the name of the context is in the extension's spring xml file