DEV Community

Discussion on: Best Practice / Standard for API calls

 
rhymes profile image
rhymes

@quii you're right! Better than using commas

Thread Thread
 
quii profile image
Chris James • Edited

Yes it is a shame, but it is for sure the convention

Best thing to do is write a test for your server and see if the library behind it supports it. If your server supports it, you're all good and you'll hopefully make it easier for your clients

Thread Thread
 
rsummerell profile image
Ross Summerell

As much as I like this, I don't think Core/Linq supports this

Thread Thread
 
rsummerell profile image
Ross Summerell

Let me add more detail to that,

I am getting a list of Resource Parameters

FilterBy
OrderBy
etc

This is only taking in the first OrderBy parameter I send in the URL.