Hi, I have problems registering a new service and asociated routes in the lasted version and I hope you can help me.
For this example i want registed the apis resources published in:
https://jsonplaceholder.typicode.com
/posts
/posts/:id
So i registed the service that:
{
"host": "jsonplaceholder.typicode.com",
"created_at": 1522978184,
"connect_timeout": 60000,
"id": "9cffc21c-3ac7-49b6-854b-a2a97caf24e6",
"protocol": "https",
"name": null,
"read_timeout": 60000,
"port": 80,
"path": "/posts",
"updated_at": 1522978237,
"retries": 5,
"write_timeout": 60000
}
And route
{
"created_at": 1522979692,
"strip_path": true,
"hosts": [
"jsonplaceholder.typicode.com"
],
"preserve_host": true,
"regex_priority": 0,
"updated_at": 1522979911,
"paths": null,
"service": {
"id": "9cffc21c-3ac7-49b6-854b-a2a97caf24e6"
},
"methods": [
"GET"
],
"protocols": [
"http",
"https"
],
"id": "b780ab68-8ff6-4c13-98f4-72e9944c1107"
}
How can i access to url? localhost:8000/post not working.