You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2019/10/22 09:16:29 UTC

[GitHub] [camel-quarkus] davsclaus opened a new issue #309: examples/rest-json - Needs trailing slash for urls to work

davsclaus opened a new issue #309: examples/rest-json - Needs trailing slash for urls to work
URL: https://github.com/apache/camel-quarkus/issues/309
 
 
   davsclaus:/Users/davsclaus/$ http :8080/fruits.html
   HTTP/1.1 404 Not Found
   content-length: 53
   content-type: text/html; charset=utf-8
   
   <html><body><h1>Resource not found</h1></body></html>
   
   davsclaus:/Users/davsclaus/$ http :8080/fruits.html/
   HTTP/1.1 200 OK
   Accept: */*
   Accept-Encoding: gzip, deflate
   Content-Type: application/json
   User-Agent: HTTPie/0.9.9
   content-length: 99
   
   [
       {
           "description": "Winter fruit",
           "name": "Apple"
       },
       {
           "description": "Tropical fruit",
           "name": "Pineapple"
       }
   ]

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services