How do I create a HTTP Request Logic APP that can receive calls http://logicapp.com/relativepath1/relativepath2 as well as http://logicapp.com/relativepath1
I want to serve calls with say http://logicapp.com/cities as well as http://logicapp.com/cities/houston using same logic app.
I wish to return all city names as response to first request and then Houston weather for 2nd request.
{ "error": { "code": "TriggerRelativePathNotValid", "message": "The relative path for this request is not valid: expected '/{region}' and actual 'cities/Houston'." } }
if I put GET relative path as "/{region}/{cityname}"
then it works for houston call, but fails for cities call
I mean if I call http://logicapp.com/cities
error says as below:
{ "error": { "code": "TriggerRelativePathNotValid", "message": "The relative path for this request is not valid: expected '/{region}/{cityname}' and actual '/cities'." } }