On Tue, Mar 18, 2014 at 10:07 PM, Xi Shen <[email protected]> wrote:
> I am working with app engine 1.9.0. On my local environment, below URL > works fine: > > http://localhost:8080/blog/api/sync/ > *TEST%20with%20slash%20%2F%20a%20slash* > > Notice the bold part after decoded is "TEST with slash / a slash". > > In my application, this URL request is send to my application. But in > online environment, this request is not send to my application. The request > is handled by app engine directly and returned 404. I think the problem is > related to the encoded slash. > How are you mapping your URLs in app.yaml? As long as you're using wildcards appropriately, this URL should still work and be routed through your application. As a side note, this looks to be an API endpoint. If you need to pass through data to your API, it may be better to wrap "TEST with slash" inside a JSON object and POST it to the API, instead of adding it to the URL. ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
