Start a new topic
Answered

API Endpoint Creation Request

I would like to create an API with different endpoints. For example:

  • /LOVS/search
  • /LOVS
  • /LOVS/list

Thank you for your help in advance !




Best Answer

Hello Wijden,


Yes, you can achieve this by using HTTP REST metadata having the base URL as fixed and you can add many Path to it, for example-

This is the Base URL-


Now you can have many Paths, like this-


As you described in your use case, you want to configure the endpoints for-

  • /LOVS/search
  • /LOVS
  • /LOVS/list

So you need to have a common Base endpoint and then create Paths - LOVS/search, /LOVS and /LOVS/list.


Thank you and have a nice day.

Hello Subham, 


Thank you for your reply. I would like to publish an API with different endpoints.


Hello Wijden,


In that case you need to create different HTTP metadata to achieve and access different endpoints.


Thanks.

Hello Subham,


I would like to publish an API (not consume an existing one). To achieve this, I created a process, configured it, and deployed it as a web service (WS).

My web service is LOVS.

I would like to create the following endpoints for my WS:

/LOVS/search: GET method to search for data.

/LOVS/: POST method to send data.

/LOVS/list: GET method to list all data.

Login to post a comment