Mark Huot
Mark Huot
I'm not sure I agree. 400 would be a not found or not authorized class error. 500 indicates that something went wrong. What status code would you expect and do...
Hrm, interesting, I like the idea of using the `categoryConnection` to add in `alternateCategories` or something like that which would return the translations of each category. I'll look at getting...
Looking in to this more Craft itself actually doesn't support a cleaner way of doing this. I explored the following, ```graphql query GetCategories($group: String, $site: String) { categoriesConnection(group: $group, site:...
I'll test this out locally. Thanks for the heads up.
This seems like a good fix. Although, I'm not totally clear on what issue it solves? First we get all the set ids and loop over them, ```php $setIds =...
Try removing the `:` from your `authorization` header. It should be, ```js 'Authorization': `Bearer ${token}`, ```
In your MAMP settings under the host you need to go to the Apache tab and explicitly enable header based authorization with the following `` directive, ``` SetEnvIf Authorization .+...
If you're not afraid of a little tinkering you could open up `vendor/markhuot/craftql/src/Controllers/ApiController.php` and then around line 54 update the `$token =` bit by adding the following three lines below,...
Thanks, that's helpful. Looks like something between your request and PHP isn't sending the `authorization:` header through. This definitely feels like the MAMP issue, https://github.com/yiisoft/yii2/issues/6631 But you've made the change...
Yea, you've got what you should have there for getting the authorization header through. I'm sorry I don't have much else to offer. Let me know how the MAMP update...