beforeInsert hook and fetch

Hello Eugene, I am trying to do something similar, but with a post request. I have to pass in the headers
Content Type : application/json
user: API key
pass: API secret

I need to add fields from my form to the request. Not exactly sure how to so this. The fields are address and zipcode. I have not tried your modifying your code yet, but will tonight. If you have any suggestions I would appreciate.