Hi
I don't think the number of query params is relevant here. The primary difficulty is the length of the URL string that is allowed by all the software elements in the calling chain (web server, API gateway, etc.). The query string, with all its (encoded) params, is just that, a string.
You need to investigate the URL length limitations that you might have for internal and external consumers of your API, and plan accordingly.
Hope it helps
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------
Original Message:
Sent: Nov 23, 2021 04:49
From: Kalpana HV
Subject: URL UNsafe characters in query parameters
Thank you Jonathan. Got clariity on the way to handle E164 format.
Is there any recommendation on the number of query parameters that can be accepted. For example if it is more than N number of query parameters, then better to convert to a post call. What is the value of N.
Best regards,
Kalpana
------------------------------
Kalpana HV
Colt Technology Services
------------------------------
Original Message:
Sent: Nov 22, 2021 10:50
From: Jonathan Goldberg
Subject: URL UNsafe characters in query parameters
Maybe I missed something, but why can't you url-encode the characters such as + , which would become %2B , and is thus safe.
POST is not really a good idea for a query, although if you had no alternative you could construct a task resource that executes the query.
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.