In a project, we are using AWS Kinesis Firehose for Data Ingestion.
To access it from the Browser and without Authentication I set up an AWS API Gateway to set up a public endpoint. To Ingest Data into Firehose you are supposed to use the PutRecords
Method.
In the Documentation on how to set up Kinesis Firehose with API Gateway it says I am supposed to use a PUT-Method, which uses a POST-Request to putRecord into Kinesis Firehose.
Why do we use a PUT for this API and not a POST? If I understood HTTP methods correctly, POST would make more sense here. I mean we are even using a POST afterwards to write the data into Kinesis Firehose. But why do we use PUT-Mehtod for this API. Any Ideas?