Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Created August 12, 2022 11:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamBien/49efb5c357b19ad2bdde82ea026db803 to your computer and use it in GitHub Desktop.
Save AdamBien/49efb5c357b19ad2bdde82ea026db803 to your computer and use it in GitHub Desktop.
102ndAirhacksQ&A.md

Ask questions and see you at September, 5, 8.PM. CET: youtube.com/c/bienadam

Also checkout recent episode:

101 airhacks.tv

Please keep the questions Jakarta EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions. Upcoming airhacks.tv events are also going to be announced at meetup.com/airhacks

@paloliska
Copy link

Hi Adam, one more question:
Did you ever used http 2 server push?
Is there any easy way to use it without any low level code?

@Endilicam
Copy link

Hi Adam,

in the case of a GET call in a REST service with a parameter (query param) that contains multiple ids, if many ids are sent it can give a 414 error (Request-URI Too Large), searching the internet I have found 3 solutions, but none of them convinced me:

  1. Limit the number of ids sent.
  2. Make a POST and put the parameter in the BODY and return the information in this call.
  3. Make a POST, with an identifier of the call, put the parameter in the BODY and then make another GET call with the identifier where it returns the information.

What do you think, any other solution?

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment