Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Make Fastboot curlable withtout the Accept header

$
0
0

@simonc wrote:

Hi,

I’m currently building an Heroku addon and the admin dashboard is using Ember. To check our compatibility with Heroku we’re using their kensa tool.

In order to test the SSO part, kensa is sending a POST request toa URL you provide. The endpoint it contacts is on our API that redirects to our dashboard in case of success.

To verify the success of the operation, kensa follows the redirection with a GET request, providing the following header: Accept: */*. In order to make all of this work, we used Fastboot but the problem is that Fastboot only answers if Accept: text/html is passed.

Is there any way to make Fastboot answer when Accept is a wildcard? I know it’s getting handled by Express, I saw it with DEBUG=express:* ember serve but I don’t know what to change to make it work.

Thanks!

Posts: 6

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles