Recognition

No awards yet.

Posts

2 Posts
  • Published Answer

    V2 create API POST call with Google Apps scripts

    I discovered that you can use the Unicode encoding to put the LF in the json, and all it well now. For those wondering the code is …
    Accepted Answer: I discovered that you can use the Unicode encoding to put the LF in the json, and all it well now. For those wondering the code is …
    By FikesMedia
  • Published Question

    V2 create API POST call with Google Apps scripts

    I am trying to make a POST call work from within Google Apps scripts into the V2 create API. I have it working, but it doesn't execute the user_data formatted in either cloud-init or just as shell commands. Nothing sh...
    Accepted Answer: I discovered that you can use the Unicode encoding to put the LF in the json, and all it well now. For those wondering the code is : \u000A so "user_data" needed to look like this "user_data": "#!/bin/bash \u000A ...
    1 By FikesMedia DigitalOcean API and CLI (doctl) API JavaScript