[progress Communities] [progress Openedge Abl] Forum Post: Re: How To Pass Parameters To...

  • Thread starter Thread starter Dustin Grau
  • Start date Start date
Status
Not open for further replies.
D

Dustin Grau

Guest
When running the sample code, you should be executing the MyCount method as an "invoke" type operation. This uses the verb PUT by default and all data is sent in the request body. Therefore, the sample data to send would be a JSON object with any parameters nested within it. Though also by default these invoke methods expect a "request" wrapper and will return data inside of a "response" wrapper. Essentially, this would be the correct/expected sample data: { "request": { "filter": "" } } I believe if you try without any filter value (leave as blank "" string) you should at least get something back. If that works, then you can try adding additional values into the filter property.

Continue reading...
 
Status
Not open for further replies.
Back
Top