How do I access post body in WSO2 prototype rest API javascript?

in WSO2 api gateway I want to prototype a few POST requests using inline javascript. I am trying to figure out how to get the post body value which is going to be json. Its a pretty old version of WSO2 (I think v5.0).

//URL: /a/b/{u1}/c?p1=123
mc.setProperty('CONTENT_TYPE', 'application/json');
var u1 = mc.getProperty('uri.var.u1'); 
var p1 = mc.getProperty('query.param.p1');
var postBody = mc.getProperty(???????????);
mc.setPayloadJSON('{ "data" : "' + p1 + '|||' + p2+ '"}');

This script is correctly printing the values if they are in the query string or the URI but cant seem to figure out how to get the POST body.

1,466 thoughts on “How do I access post body in WSO2 prototype rest API javascript?”

  1. [url=]cialis 10 mg daily[/url] [url=]sildenafil citrate australia[/url] [url=]how much is sildenafil from canada[/url] [url=]viagra brand coupon[/url] [url=]cheapest viagra prices[/url] [url=]cialis canada purchase[/url] [url=]purchase viagra pills[/url]

  2. [url=]cialis 50[/url] [url=]order viagra canadian pharmacy[/url] [url=]tadalafil generic in usa[/url] [url=]cialis brand online australia[/url] [url=]daily generic cialis[/url] [url=]viagra 12.5 mg[/url] [url=]amoxicillin for sale online uk[/url] [url=]stromectol ebay[/url]

  3. [url=]cialis 10mg daily[/url] [url=]buy discount cialis[/url] [url=]buy sildenafil 200mg[/url] [url=]generic sildenafil 25 mg[/url] [url=]how to buy cialis online in canada[/url]

  4. [url=]5mg tadalafil online[/url] [url=]lexapro 10mg tablet[/url] [url=]kamagra oral jelly uk delivery[/url] [url=]lisinopril 5 mg coupon[/url]

  5. [url=]sildenafil mexico cheapest[/url] [url=]doxycycline online without prescription[/url] [url=]can you buy over the counter viagra[/url] [url=]online pharmacy in turkey[/url] [url=]buy cialis online us[/url] [url=]non prescription viagra[/url] [url=]best female viagra tablets[/url] [url=]how to get real viagra[/url] [url=]generic viagra online usa[/url] [url=]where can i buy real cialis[/url]

  6. [url=]buy real viagra online cheap[/url] [url=]metformin tablet price[/url] [url=]canadian viagra 200 mg[/url] [url=]sildenafil 150 mg[/url] [url=]cialis 20 mg price in india[/url]

  7. [url=]best online pharmacy propecia[/url] [url=]buy amoxicillin 500mg capsules[/url] [url=]cheap generic viagra 100mg canada[/url] [url=]buy cialis online with mastercard[/url] [url=]tadalafil 5mg coupon[/url] [url=]lisinopril 20 mg canada[/url] [url=]cialis 20mg price in mexico[/url] [url=]buy 1 viagra pill[/url] [url=]buying cialis in canada[/url] [url=]buy clomid no rx[/url]

  8. Hey! I know this is somewhat off-topic however I had to ask.
    Does managing a well-established website such as yours require a massive amount work?
    I am completely new to writing a blog however I do write in my journal on a daily
    basis. I’d like to start a blog so I will be able to share my
    experience and feelings online. Please let me know if you have any kind of recommendations or tips
    for new aspiring bloggers. Thankyou!