[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: ablFilter error - can not find out whats wrong...

  • Thread starter Thread starter egarcia
  • Start date Start date
Status
Not open for further replies.
E

egarcia

Guest
Hello, The HTTP error 400 Bad Request happened because curly braces { } cannot be used directly in the query string. They need to be encoded: { -> %7B } -> %7D What is your client? Is it JavaScript based? If your client is JavaScript, you can use the function encodeURIComponent() to encode the characters. Example: encodeURIComponent(JSON.stringify(filter)) Related Links: meta.stackexchange.com/.../curly-brackets-in-urls bz.apache.org/.../show_bug.cgi The Error 500 happened because in the absence of the curly braces, ablFilter was being interpreted as a field in the database table. Your query should work once you add the encoded characters. localhost:8080/.../Prod I hope this helps.

Continue reading...
 
Status
Not open for further replies.
Back
Top