locked
No error but not translating either RRS feed

  • Question

  • This is the http trace less the access token.  I don't see any error response but the text doesn't get translated and is just returned to me.

    What am I doing wrong?

    GET /V2/Http.svc/Translate?text=%25E6%2588%2591%25E7%259C%258B%25E5%2588%25B0%25E4%25BD%25A0%25E7%259A%2584%25E4%25BF%25A1%25E6%2581%25AF&to=en&category=general&appid= HTTP/1.0
    Accept: */*
    Accept-Charset: utf-8
    Host: api.microsofttranslator.com
    User-Agent: REBOL
    Authorization: Bearer ..long..token..removed
    
    HTTP/1.1 200 OK
    Keep-Alive: true
    Content-Length: 140
    Content-Type: application/xml; charset=utf-8
    X-MS-Trans-Info: 3722.V2_Rest.Translate.178540A5
    Date: Thu, 10 Sep 2015 08:09:06 GMT
    Connection: close
    
    <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">%E6%88%91%E7%9C%8B%E5%88%B0%E4%BD%A0%E7%9A%84%E4%BF%A1%E6%81%AF</string>

    Thursday, September 10, 2015 8:27 AM

All replies

  • Looks like the software I'm using to send the request is double encoding the parameters.
    Thursday, September 10, 2015 10:50 AM