-3

I am new to rest, I have an entity called availableJobPositions. I want to get most Interesting job by sending a person skills. which url is good in restful:

api/positions/skill/most-intersting?skills[]=php&skills[]=mysql

or

api/most-intersting-job?skills[]=php&skills[]=mysql

closed as unclear what you're asking by gnat, Jörg W Mittag, BobDalgleish, Robert Harvey Apr 30 at 17:55

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

1

REST say that you should use http verbs for interaction with the resources. So in this case the resource is interesting-jobs, that's why I recomend the second option, but you should use POST to pass the skill set.

Not the answer you're looking for? Browse other questions tagged or ask your own question.