TripleParity / docks-api

RESTful API Server for Docks
https://tripleparity.github.io/docks-api/stack-api-spec.html
GNU General Public License v3.0
0 stars 0 forks source link

Move filter url params to body #33

Open CDuPlooy opened 6 years ago

CDuPlooy commented 6 years ago

Opening this issue as requested in the meeting on 07/05

See this for example. The filter params should be a map[string][]string however we are having some trouble getting this to work.

There is an example in the services branch which attempts to use this but fails with 500 server error on account of the encoding not properly happening. This will probably need to happen on every api call which has a filter parameter in the url path if we plan on using said function.

egeldenhuys commented 6 years ago

Does it work when sending a properly formatted request to the Docks API?

CDuPlooy commented 6 years ago

I'm guessing so. There was an open issue on this in angular/angular-cli which showed the incorrectly encoded json object and the correct one when using some online tool.

I don't know if I'll have time to look at this before next week.