Comments (6)
That's how it's currently implemented: http://178.62.217.148/records/333?ids=2007HABE01&ids=2007WEIN01
I still need to implement a better way to pass in several ids, probably using one comma separated parameter.
from cubecomp.
Could do it the standard Rails way of id[]=foo&id[]=bar&id[]=foobar
from cubecomp.
Maybe take a look at https://github.com/rustless/queryst/
from cubecomp.
Once your rust api becomes a bit more stable, maybe it makes sense to write a Ruby client for it...
from cubecomp.
Could do it the standard Rails way of id[]=foo&id[]=bar&id[]=foobar
Nice, I totally forgot how Rails does it. But I fear that I'll run into another issue: A URL with too many characters. Most browsers seem to support 2000 characters. This would only allow for about 130 ids (2000 / 15). This limitation might not be a problem outside of a browser, but I don't want to stress it. What other options are there when using GET
? Custom headers?
Maybe take a look at https://github.com/rustless/queryst/
Thanks for the link!
Once your rust api becomes a bit more stable, maybe it makes sense to write a Ruby client for it...
👍
from cubecomp.
You could encode the query in the request body rather than in the query params... Not 100% sure if that works for GET or only POST.
from cubecomp.
Related Issues (20)
- WCA delegate
- Event overview has wrong registration numbers HOT 4
- Confirmation mails marked as spam HOT 5
- Remove "Newcomer"-comment for guest from checklist HOT 2
- Date displayed incorrectly if spread over multiple months
- WCA database script not working on Mac OS X HOT 1
- Bug in Stats HOT 3
- Loading front page with custom domain should only show competitions that use that domain
- Broken CSV export HOT 8
- Competitor comparison not working HOT 4
- Competitor limit for competitions
- Uniformly width for each table at schedule
- Wrong weekday for birthdays HOT 5
- French Flag not displayed HOT 2
- Swiss Nationals: Psych sheet error HOT 3
- Lichtenstein missing as a country HOT 1
- Unnoticed mail delivery failures HOT 1
- Option to partially close registration
- Add support for "other" gender HOT 1
- s/United States/USA HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cubecomp.