Null value getting passed as String in params
See original GitHub issueparams = {filter: Null}
Restangular.all('employees').getList(params)
The Null value is being generated from the ui-router’s params, so I’m not sure who’s issue this is, but when I pass their object (with a null value) into restangular, restangular translates it into a string
/employees/?filter=null
instead I need
/employees/?filter=
Issue Analytics
- State:
- Created 10 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
How to send NULL in HTTP query string? - Stack Overflow
Use a constant, like "NULL" or "~" . That works for booleans & numbers, but not for strings, as that might be the...
Read more >null value in query string - MSDN - Microsoft
I'm using webservice to integrate asp.net app with PeopleSoft. Sometimes, the value that I get from a querystring (eg in url below, request...
Read more >Passing empty or null values in GET request of Rest Service
Hi I have created a query for my front end Search form which will work if no parameters is given it will load...
Read more >jQuery.param outputs "null" and "undefined" in the query string
Current behaviour is not correct: a parameter with values null or undefined will be serialized the same as "null" or "undefined" (string) which...
Read more >A Variable Passed from my LWC to Apex Becomes Null
1 @AuraEnabled 2 public static String getBooleanSearchText(String objectApiName, String jsonFilters) { 3 System.debug(jsonFilters); [...] I get ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey,
null should be in lowercase. Try if this works with null
just dont pass any value … like /employees/?filter=