Questions tagged [api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
19 views

Craftnet API package query

Does querying composer packages via the Craftnet API need authentication? Ref https://docs.api.craftcms.com/packages.html Querying the Craft CMS package itself is fine, eg https://api.craftcms.com/v1/...
0
votes
0answers
16 views

How to use Fetch plugin for SOAP API requests

I trying to use the Fetch plugin to get the response for SOAP API requests. But it doesn't work. I didn't use this before, not sure which part doing wrong, and can I use the Fetch plugin for SOAP API? ...
0
votes
0answers
46 views

Rest Controller and API Rate Limits or how to set CSRF token invalid

Problem: I have a JSON endpoint and like to limit access to it. I.e. to prevent double submits on contact forms or brute force attempts. One solution that came to my mind was rate-limiting the ...
2
votes
1answer
202 views

How to accept incoming webhooks?

I've tested the webhooks plugin. Awesome. Works brilliantly. How how about incoming webhooks? What if my 3rd party ERP system has changes that it wants to put into my Craft site. How do I go about ...
1
vote
1answer
135 views

How to correctly format API requests for Mandrill using Fetch plugin? Getting error “you must specify a key value”

I want to use the Fetch plugin (v 1.2.0; Craft Pro 3.3.13) to send messages from a Twig template in some circumstances. To test the setup, I'm just trying to ping Mandrill, according to the /users/...
1
vote
2answers
526 views

How to update (or CRUD) products (or entries) via API?

I want to update certain fields of a product (or entry) from a 3rd party. I see some talk about plugins and some refer to this .all talk about Creating a RESTful API with Craft 3. I found the Craft ...