smashgg / developer-portal

A place for developers interested in smash.gg's API
MIT License
47 stars 42 forks source link

Setting the bearer header token in "Headers" causes an error when using the Explorer #188

Open tobybaratta opened 1 year ago

tobybaratta commented 1 year ago

Now that you have to add your authorization token as a JSON in the Headers textbox (as stated when you first load the page), doesn't actually work properly.

Instructions:

image

Error Displayed (no matter what):

image
willieowens commented 1 year ago

The suggestion message is incorrect, which we will fix. Use double quotes for valid JSON.

tobybaratta commented 1 year ago

It also dies if you put new lines in, FWIW:

image