Skip to Content
author's profile photo Former Member
Former Member

HTTP_POST

I'm trying to call the follwing URL via function module HTTP_POST

http://iwdfvm4048.wdf.sap.corp:8000/dcn/DCNServlet?cmd=wf&security=admin&domain=default&username=supAdmin&password=s3pAdmin&domain=default&package=dcnworkflowapp:1.0&dcn_request={"op":":upsert","id":"12","to":"supAdmin","s
ubject":"New Customer in DB (1)","from":"Inventory
Control System","body":"Customer updated"
,"read":false,"priority":true}

What do I have to do to pass the " in a right way?

I'm parsing the request on traget server and I'm having trouble with the ".

All other parameters are passed correctly.

Calling this URL via browser works fine!

How can I pass the parameter correctly within HTTP_POST request body?

Thanks&kind regards

Martin

Edited by: Martin Kraemer on Jul 17, 2011 10:19 PM

Edited by: Martin Kraemer on Jul 17, 2011 10:19 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2011 at 06:41 AM

    Hi,

    have a look at this thread:

    URL encoding in ABAP

    Maybe this is your solution.

    Best regards,

    Oliver

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.