How is my HTTP Get request to query for DNG artifacts failing with 6.0.3 where it worked in 6.0.2?
I am attempting to send an HTTP Get request to query for DNG artifacts. I am trying to do this at a project level and just get all the requirement artifacts back. I have a library that creates these requests and works perfectly for 6.0.2 but fails for 6.0.3 with similar setup. GC is not enabled. Should there be something else provided in the GET request that I am missing?
Accepted answer
Hi Chandrasekhar,
I believe your request should look like my "Updated" one below (the ? should be changed to an & before oslc.paging). If I use your example, I get the same error but mine works ok. Maybe your library is doing something different, as I'm not sure this would have worked in a previous version either.
Original:
GET oslc-clm.dspace.de:9443/rm/views?oslc.query=true&projectURL=https%3A%2F%2Foslc-clm.dspace.de%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_gLIyoA4_Eeenb8He39gWBw?oslc.paging=true&oslc.pageSize=100&oslc.select=
Updated:
GET oslc-clm.dspace.de:9443/rm/views?oslc.query=true&projectURL=https%3A%2F%2Foslc-clm.dspace.de%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_gLIyoA4_Eeenb8He39gWBw&oslc.paging=true&oslc.pageSize=100&oslc.select=
Comments
It looks like the asterisk at the very end (&oslc.select=*) was removed. That seems to be a formatting issue with the forum and not something I removed intentionally.
Thanks! I am in contact with the developer who implements the creation of these query GET requests. He will need to modify his code in order for me to test with this correction but I will communicate results when this is done!
That fixed it, thanks!
1 vote
Comments
Chandrasekhar Puliroju
Apr 18 '17, 11:23 a.m.I have also tried the following HTTP Get request and get a bad request with the same error message: