Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Syntax for ImportJSONViaPost #237

@zacchaeus80

Description

@zacchaeus80

Bit of a newbie question, I'm afraid, but I'm struggling to figure out the correct syntax for using ImportJSONViaPost to access data from the GivEnergy API. The curl syntax is as follows:

curl --request POST
"https://api.givenergy.cloud/v1/inverter/consequatur/energy-flows"
--header "Authorization: Bearer {YOUR_API_KEY}"
--header "Content-Type: application/json"
--header "Accept: application/json"
--data "{
"start_time": "2022-01-01",
"end_time": "2022-01-01",
"grouping": 0,
"types": [
0,
1,
2,
5
]
}"

(Further details here)

Many thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions