Service Endpoint (GET): http://localhost:8090/emp/emp_details/[email protected]/
$$url = ^”\“http://localhost:8090/emp/emp_details/$name\”“
$$user_agent = ^“[email protected] User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)”
$_tmp = ^jsonopen(transient GET $$url “” $$user_agent)
$fname = $_tmp.fname
$lname = $_tmp.lname
$phone= $_tmp.phone
Address Book : $fname $lname - $phone
How can I do a POST request for the same?
Consider the endpoint as http://localhost:8090/emp/ and input json as {"email": "[email protected]"}