Re: getting started with ofbiz-rest-impl

2020-09-06 Thread Hans Bakker
just a quick question , does it also work with minilang?  i get {   "statusCode" : 500,   "statusDescription" : "Internal Server Error" }: Regards. On 9/5/20 8:26 PM, Girish Vasmatkar wrote: Hello Hans Thanks for giving it (REST Impl) a try and providing valuable feedback. The token's signatur

Re: getting started with ofbiz-rest-impl

2020-09-06 Thread Hans Bakker
OK, made some progress, have it now working from the flutter dart environment however.. this curl works even from flutter dart, curl -X  GET https://localhost:8443/rest/services/findProductByI?inParams=%7B%22idToFind%22:%22GZ-1001%22%7D -H "Accept: application/json" -H "Authorization: Bear

Re: getting started with ofbiz-rest-impl

2020-09-06 Thread Girish Vasmatkar
Hi Hans - Here's that works (if you don't want to manually url encode) - curl -G -X GET https://localhost:8443/rest/services/findProductById --data-urlencode 'inParams={"idToFind":"GZ-1001"}' -H "Accept: application/json" -H "Authorization: Bearer $token" --insecure Note '-G' parameter to CURL.

Re: getting started with ofbiz-rest-impl

2020-09-06 Thread Girish Vasmatkar
That being said, I should make the query param mandatory such that it returns 400 Bad Request "Missing Parameters" to let the client know of the error. I will make this improvement and commit soon. Best, Girish On Mon, Sep 7, 2020 at 11:59 AM Girish Vasmatkar < girish.vasmat...@hotwaxsystems.com