I keep getting 400 responses when I perform a get ...
# suitetalkapi
t
I keep getting 400 responses when I perform a get request filtered by email. I've tried multiple ways of encoding it but nothing seems to work. If I send the same request using the email prefix before the @ symbol it works but I cant figure out how to send the whole email through. Any suggestions? I'm sure it's something simple I'm missing. https://xxxxxx.suitetalk.api.netsuite.com/services/rest/record/v1/customer?limit=1&q=email%20START_WITH%20emailaddress%40gmail.com https://xxxxxx.suitetalk.api.netsuite.com/services/rest/record/v1/customer?limit=1&q=email%20START_WITH%20emailaddress@gmail.com
m
It works for me in Postman if I wrap the email address in double-quotes:
Copy code
/services/rest/record/v1/customer?limit=1&q=email%20START_WITH%20"emailaddress@gmail.com"