Eliminating + from the post request

When I send a POST request to the web server, the spaces in the request are replaced by '+'. how do I eliminate this?

I am developing a program which sends a POST request to the server in a name value pair.Any spaces in the value are converted to '+' character and any other special characters are converted to %their hex value
For eg: if the request is
key = how are you
at the server I get
key = how+are+you
in the same way
key = Re: how are you
at the server I get
key = Re%3Ahow+are+you
How do I handle this problem

Similar Messages

  • How to delete the entries from the transport request

    i need to delete the entries programatically from the transport request for all the entries which is exists in the package for the tables e070 and e071.

    Hi,
    I think you need to have authorization for that thru auth group SA.
    One more thing is where ever its created like source client only you can do if u have authorization.
    Regds
    Sivaparvathi
    Please reward points if helpful...

  • Depreciation run from the posting date

    Hi Team
    My client want deprecition to be posted from the Posting date instead of start date of the document period
    he is trying to  post assets through F -90 it calculates depreciation from the
    start date of the doc. period
    Eg., Asset no 8000000049
    Document date-11.11.09
    posting date-21.11.09
    depreciation is calculated from 01.11.2009 but he want from 21.11.09. further
    if the document month and posting month are differenet the depreciation
    is getting calculated from the document month.But he want depreciation to be posted from posting date only in both scenaio's
    Kindly give us info -any config changes can be done, give necess. steps to follow
    thanks
    Bbindu

    Hi,
    Please go to your asset master (AS02), and see which dep key is assigned to your book depreciation area in depreciation areas tab.
    Then set your COD with OAPL.
    Go to AFAMA and choose your dep key, which you found in your assset master, double click on the dep key...
    There one check box will be available as Dep to the day...select it. SAVE
    Now check your asset in AW01N, now it will calculate dep from asset posting date.
    Thanks,
    Srinu

  • Just downloaded and installed new LR CC.  No apparent problems with the D/I on my iMac, OS 10.10.3. however LR CC will not start.  I get a momentary flash of the opening screen and then the program  shuts down.   From the posts it looks like this if a ver

    Just downloaded and installed new LR CC.  No apparent problems with the D/I on my iMac, OS 10.10.3. however LR CC will not start.  I get a momentary flash of the opening screen and then the program  shuts down.   From the posts it looks like this if a very common problem.  Any help would be appreciated. Thanks.

    Have you tried logging out of your CC desktop app, then logging back in again? Quit/Restart won't work, but logging out and back in should. See here: https://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

  • Building a HttpServletRequest from a posted request

    Hi,
    I'd like to build a HttpServletRequest object which is an "altered copy" of a user posted request to a servlet.
    I mean that i get a request from an user X but i'd like to call another servlet with different parameters and this second servlet will send to response back (a web page) to the user who sended the first request.
    i tried to alter the received request object and transmit it to the second servlet by using request.setAttribute() and request.removeParameter() but the request received by the second servlet seemed to be the user request.
    anyone could explain that behaviour or have resolved such problem ?

    Is there a particular reason this functionality doesn't exist? Right now I'm duplicating this by recreating the entire url except for a single parameter that I remove, then I redirect the user to that new url. Obviously, that's a horrible way to do things when a removeParameter method on HttpServletRequest would do the job that I want it to do.
    Is there a reason that no such functionality exists?

  • Extract Portal User Name From HTTP POST Request (WSRP SOAP)

    How can we extract the user name from the HTTP POST Request (*WSRP SOAP*) from the Portal to the Portlet Provider (Producer)?
    We are load balancing between the Portal (10.1.14.2) and the providers (OC4J 10.1.3.3) and would like to extract the user name within the load balancer so we can create session affinity based on it.
    BTW, we already tried using TCP Flow but were unable to see the user name.

    From the documentation, it seems that you need to use
    HttpURLConnection.setRequestMethod("POST"); // "GET" is the defaultalthough I have seen examples on the web without it.
    Try!
    Edit: Also the single quotes around userid and password may be a problem.
    Use the previous poster suggestion, but do not include the single quotes.
    Edited by: baftos on Aug 6, 2008 4:27 PM

  • Extracting json payload from the incoming request

    Hi,
    I am looking for ways on how to extract the application/json payload in my web resource methods when developing applications using jersey. I know that there are multiple annotations like @PathParam, @FormParam and others to get the data sent using other http methods. Im looking for an example on how to get the payload from the http post request?
    Can someone help?
    webservices are built using jersey.
    Thanks

    http://jersey.java.net/nonav/documentation/latest/user-guide.html
    If it isn't in the user guide... well then it is either not documented or it doesn't exist.

  • SCSM 2012 - Portal - Is it possible to exclude Closed Requests and Incidents from the My Requests view

    Some users have complained that they see to many in the My requests view and there isn't a requirement to see closed requests.
    Ideally I would like them to be Listed by Status as default rather than Type and then be able to order the status as I wish - i.e. I want active alerts first, In Progress next, then resolved and lastly closed.

    As far as I know this is not possible with the built-in SCSM portal. Neither the Silverlight webpart can be modified nor are there any settings to configure the webpart for requirements like you described. 
    Andreas Baumgarten | H&D International Group

  • Retrieve Company name from the Post in contact Entity - MS CRM 2013 online

    Hi All,
    We have a feature in the contact entity, on change of a field called call status we are triggering a workflow which will take the current value of the call status field and creates a new status in the Auto Post. So repeated calling and call status by Target
    marketing will be captured. 
    Below is the Sample
    Now the issue i am facing is creating a report out of it to capture # of calls and call status. 
    This is the sample report I've created. I am not able to Display the Account name in this report.
    Fetch XML used:
    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
      <entity name="post">
        <attribute name="postid" />
        <attribute name="createdon" />
        <attribute name="createdby" />
        <attribute name="source" />
        <attribute name="modifiedon" />
        <attribute name="text" />
        <attribute name="regardingobjectid" />
        <attribute name="createdonbehalfby" />
      </entity>
    </fetch>
    Kindly suggest how this can be done.
    Regards, Rekha.J

    Hi Jithesh,
    Thanks for the reply.
    The above code retrieves no data and so no output is displayed, not even a  single record is retrieved.
    I previously had tried something similar to this , which retrieved the records but account name it was displaying some wrong data.
    Below is that code which I tried.
    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true">
      <entity name="post">
        <attribute name="postid" />
        <attribute name="createdon" />
        <attribute name="createdby" />
        <attribute name="source" />
        <attribute name="modifiedon" />
        <attribute name="createdonbehalfby" />
        <attribute name="regardingobjectid" />
        <attribute name="text" />
        <link-entity name="systemuser" from="systemuserid" to="createdby" alias="ak">
          <link-entity name="account" from="createdby" to="systemuserid" alias="al">
            <attribute name="name" />
            <filter type="and">
              <condition attribute="name" operator="not-null" />
            </filter>
          </link-entity>
        </link-entity>
      </entity>
    </fetch>
    Regards, Rekha.J

  • I paid $20 to upgrade my iPod touch and it didn't go through for me. The person who assisted me said that if it didn't work out that I would get my $20 posted back into my credit card. Prior to this service I made a purchase from the iTunes Store.

    I paid $20 to a person from the apple customer support line to have my iPod touch upgraded but it never went down. The representative who assisted me said that I would have those $20 posted back into my Visa card if it didn't go through. The service never got to happen and failed. Prior to this I made a purchase from the iTunes Store for $7.00, which they never billed me. So until I pay for the previous iTunes purchase, I am not allowed to download any applications. This is the reason why I need the $20 back from the separate request I made with apple which never worked out. Cause as soon as I pay for the previous iTunes purchase that I made apart from apple, then I could once again start to download and install applications. I have a week already without downloading apps. Please refund my money back a.s.a.p.

    Not sure what this is all about...
    JamesAbreu55 wrote:
    I paid $20 to a person from the apple customer support line to have my iPod touch upgraded but it never went down. ...
    However... This is a user to User Forum.
    To Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Page Expire - How to keep in cach from post request !!!

    I have a big problem with the back button resulting in Page Expired message. The system framework is to call servlets from any page. A servlets will perform necessary computations and forward the request with additional objects to a jsp page, which will in turn construct the page and display it to a user. Some of the constracted pages have back button, which simply redirects to the previous page.
    The problem that I have has been described in multiple forums before, but still appears to be not solved. When I press the back button that shall display previous page, generated by the Post request, I get Page Expired message. Note that this occurs only in IE (I am using 6.0 with SP1) and not in Mozilla (I am using 1.3). I did my homework and tried the following code in different combinations, but unsuccessful:
    resp.setHeader("Cache-Control", "public");
    res.setHeader("Pragma", "Cache");
    res.setHeader("Expires", "Fri, 30 May 2003 12:00:00 GMT");
    or directly in jsp page
    <META HTTP-EQUIV="Pragma" CONTENT="cache">
    <META http-equiv="expires" CONTENT=" Fri, 30 May 2003 12:00:00 GMT ">
    None seems to work in IE. It appears that the IE refuses to cache the page generated by the post request at all times.
    The application that I am working is huge and this is a big problem for us, we need to support IE with back buttons.
    Please help.

    I believe this is a requirement of the HTTP
    specification.Yep - section 13.10 for anyone who can't sleep. I believe the idea is that methods such as POST, PUT and DELETE cause an update at the server and so caching makes no sense - the client needs to view a new copy.
    To quote the spec:
    Some HTTP methods MUST cause a cache to invalidate an entity. This is either the entity referred to by the Request-URI, or by the Location or Content-Location headers (if present). These methods are:
    - PUT
    - DELETE
    - POST

  • Reading POST-Request-Parameter-Values from WebDynPro now possible?

    Hello,
    in the past I always was disappointed that in WebDynPro there was no way to read POST-request-parameter-values directly after the call of a WebDynPro-Application.
    The only (documented) way to read / transfer request-data into an WebDynPro-application was via "URL query string parameters" in the request URL.
    The last week I forgot this restriction. I called my WebDynPro-application using a POST-Request-Parameter (cookie_guid) instead of an URL-parameter.
    After noticing my mistake, I was really surprised that the WebDynPro could read / shows the the POST-Request-Value.
    I didn't make any changes in the coding of my WebDynPro-Application (zvis_show_sso_cookie).
    After this cognition I built the following simple HTML-formular to analyse the behavior of the WebyDynPro by calling it with an URL-Parameter (cookie_guid=Url-GUID) together with the POST-Parameter (cookie_guid = Post-Value-GUID).
    After calling the WebyDynPro it reads / shows the "POST-Value" of the request !!!
    (Remark: If I made a simple refresh or type directly the URL "http://hg10762.vis-extranet.de:1080/sap/bc/webdynpro/sap/zvis_show_sso_cookie?sap-language=DE&cookie_guid=Url-GUID" in the browser, the same webdynpro reads / shows the URL-Parameter-Value).
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
           "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    </head>
    <body>
    <form method="post" action="http://hg10762.vis-extranet.de:1080/sap/bc/webdynpro/sap/zvis_show_sso_cookie?sap-language=DE&cookie_guid=Url-GUID">
      <table border="0" cellpadding="5" cellspacing="0" bgcolor="#E0E0E0">
        <tr>
          <td align="right">Cookie_GUID:</td>
          <td><input name="cookie_guid" type="text" size="30" maxlength="30" value="Post-Value-GUID"></td>
        </tr>
        <tr>
          <td>
            <input type="submit" value=" Absenden ">
            <input type="reset" value=" Abbrechen">
          </td>
        </tr>
      </table>
    </form>
    </body>
    </html>
    My questions:
    I there any documentation that describes the behavior of  WebDynPro after calling it by using POST-Parameter values?
    I believe in the past it wasn't possible to read POST-request-parameter-values in WD. Has SAP changed the functionality?
    Is the behavior I described in my example above mandatory?
    Regards
    Steffen

    As far as i know in general HTTP request  GET method is standard but in SAP POST is standard.  All the client request is passed as POST to the server in order to avoid the URL parameter length restriction in GET method.

  • How can i pass the olde request from jsp to RH?

    i get to jsp page from requset handler A and in the jsp page i use request.get.. to display information on the screen.
    the problem is that in case that the user press on lunguage link it send u to REQUEST handler B that do some jobs and than return you to the same page but now the page dosnt work because the old request is lost and when he get into the line request.get it falls.
    so any one know how to forward the old request to the request handler without putting the old request in the session???
    i understand that in case that u display data to the user forward dosnt work so here begin the problem.

    If I understand you correctly, you build a page based on a request. The page loads and the user makes another request. In processing this second request, the user should be returned to the same page, right? This tends to happen a lot in web apps.
    The model we use is to have a PageModel instance for each page in the application which contains each of the datamodels needed by the JSP. We also have a method responsible for building that PageModel from data contained in the request/session.
    If you set up a PageModel for the page you want to return to you can set this into the session and when you second request comes to build the page, you can either build the page from the new request or use the one stored in the session or a combination of the two.
    The advantage of this is to make getting values from the request cleaner and the building of pages somewhat easier, just a series of pageModel.set...() methods before the jsp does pageModel.get...().
    Mark

  • Get file from HTTP POST (upload image)

    Hello,
    I would like to integrate http://www.plupload.com flash component to my APEX 4.1 website. I need it because I want to resize image and transform image before upload on client side, upload multiple files etc..
    But I don't know how to read image binary data from POST method.
    When I hit "Start upload" button on plupload component it makes some transformations and creates POST method like this:
    ------pluploadboundary1334433145869
    Content-Disposition: form-data; name="name"
    p16qp6jm3nhan1ca46me1ocr3tu1.jpg
    ------pluploadboundary1334433145869
    Content-Disposition: form-data; name="chunks"
    1
    ------pluploadboundary1334433145869
    Content-Disposition: form-data; name="chunk" 0
    ------pluploadboundary1334433145869
    Content-Disposition: form-data; name="file"; filename="centerd.jpg"
    Content-Type: image/jpeg
    ÿØÿà�JFIF������ÿÛ�„�
    image content
       now I would like to read content of this HTTP POST and read sended image and store it to DB.
    Question is... how can I read file sended with HTTP POST in APEX pl/sql process or pl/sql procedure?
    Thank you...
    Edited by: cardel on Apr 14, 2012 11:17 PM

    Hi,
    here are my two cents ...
    this will be a bit difficult. When you use the standard APEX File upload it is not PL/SQL handling the POST request. The request is handled by the webserver - depending on the variant you are using it is either mod_plsql, the C code of the Embedded Gateway or the APEX Listener. The webserver is also doint the insert into APEX' file repository. So I see two options:
    It might be possible to configure your plugin (don't know about it) the behave the same as a standard browser upload. Then for APEX there would be no difference - mod_plsql should handle the files accordingly.
    If you want to handle the POST request yourself, as said, you can't do this in PL/SQL. It would be possible to write a Java servlet doing this and deploy that servlet on the same container as the APEX Listener (when using Apache with mod_plsql you would need an additional Java server for that) ....
    Hope this helps ...
    Best regards
    -Carsten

  • HTTP POST Request? How? Please Help!

    Hi maybe this is a simple question. But I was able to do a GET Request from an applet to an ASP page just fine but I am having problems with the POST Request. How do you do a HTTP POST and put the parameter on the post data?
    This is what I am doing:
    url = new URL(queryParam);
    connection = (HttpURLConnection)url.openConnection();
    connection.setDoOutput(true);
    connection.setRequestMethod("POST");
    // IS THIS CORRECT WAY TO ADD PARAMETER TO POST
    connection.setRequestProperty("name","javaguy");
    BufferedReader in = new BufferedReader( new InputStreamReader( connection.getInputStream()));
    String inputLine;
    while ((inputLine = in.readLine()) != null)
    System.out.println(inputLine);
    in.close();

    The setRequestProperty() method is used to add HTTP headers to the request. The way you pass "post" parameters is to send them as the body of the message in "application/x-www-form-urlencoded" form. In other words, create a string of URLEncoded "name=value" pairs delimited by '&', just like you would see in the URL when making a GET request through the browser:
    String paramStr = "name=javaguy&occupation=web+developer" ;
    byte[] paramBuf = paramStr.getBytes("ISO-8859-1") ;
    url = new URL(queryParam);
    connection = (HttpURLConnection)url.openConnection();
    connection.setDoOutput(true);
    connection.setRequestMethod("POST");
    // THIS CORRECT WAY TO ADD PARAMETER TO POST
    connection.setRequestProperty("Content-Length", Integer.toString(paramBuf.length)) ;
    OutputStream out = connection.getOutputStream() ;
    out.write(paramBuf) ;
    out.flush() ;
    out.close() ;
    BufferedReader in = new BufferedReader( new InputStreamReader( connection.getInputStream()));
    String inputLine;
    while ((inputLine = in.readLine()) != null)
        System.out.println(inputLine);
    in.close();Good luck!

Maybe you are looking for