[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: encode URL when calling web service from RPGLE using HTTPAPI



Hello Ashish,

On the current release of HTTPAPI, blanks are automatically encoded if they are in the URL.

The Webforms/URLEncoder support in HTTPAPI will also translate them, for example, if you are encoding form data to be sent via the POST method.

Good luck!

On 6/25/2012 12:44 PM, Ashish Kulkarni wrote:
    I have been using HTTPAPI to call java web services, i have a situation
    where i need to encode URL in UTF-8 format because there are blank
    spaces in the data i am sending to web service using get method

    Is there any subroutine to encode this data so call to web service will
    work

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------