I need to post result with Ajax, but the API I'm posting to uses 302 redirect to display results. Ajax won't follow the redirect, so I can never get my data. I just get a null response.
I can do a casper.open()
and then it will at least post and follow to get results, but I don't want to navigate off page to get this result.
Any suggestions?