Support OPTIONS method in HTTP action
complete
Tony Brown
Hi, please could you add support for the OPTIONS method in the HTTP action.
The task I am doing is pulling some bundle product structures from an order management system in to Shopify product metafields.
I hadn't heard about the OPTIONS method before I started using this API (BrightPearl), basically to get a bunch of product data, you can do a GET request to their API whilst passing in a range of IDs. e.g "1-15,18,20-28".
This endpoint is limited, so you could face issues if you wanted a large amount, or if you wanted all products.
The OPTIONS method allows you to pass in a bunch of ID(s) and ranges, and it will return the API endpoints you need to hit without going over any limits they have in place.
Thanks.
Isaac Bowen
complete
https://mechanic.canny.io/changelog/http-actions-now-support-options-and-head-requests